changeset 4777 | 7e37cb866e97 |
parent 4766 | 162b2b127b15 |
child 4796 | a20edc0f8b30 |
--- a/pytestconf.py Wed Mar 03 19:03:52 2010 +0100 +++ b/pytestconf.py Wed Mar 03 19:20:03 2010 +0100 @@ -21,7 +21,7 @@ def clean_repo_test_cls(cls): if 'repo' in cls.__dict__: - if cls.repo.__dict__: # empty dict when already shutted down + if cls.repo._shutting_down: cls.repo.shutdown() del cls.repo for clsattr in ('cnx', '_orig_cnx', 'config', '_config', 'vreg', 'schema'):