author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 03 Mar 2010 19:20:03 +0100 | |
changeset 4777 | 7e37cb866e97 |
parent 4776 | 3bf51379baee |
child 4787 | dc07678c4935 |
pytestconf.py | file | annotate | diff | comparison | revisions |
--- 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'):