# HG changeset patch # User Sylvain Thénault # Date 1267640403 -3600 # Node ID 7e37cb866e97b85d6347bea3ea3b671d00ee4307 # Parent 3bf51379baeebb07a9c560519f1adfc8292a1ff6 [test] check _shutting_down, not empty dict (empty dict test should go in pytestgc patch) diff -r 3bf51379baee -r 7e37cb866e97 pytestconf.py --- 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'):