pytestconf.py
branchstable
changeset 5906 d40ced753291
parent 5426 0d4853a6e5ee
child 9471 367fe83d9f98
--- a/pytestconf.py	Tue Jul 06 13:54:57 2010 +0200
+++ b/pytestconf.py	Tue Jul 06 17:09:14 2010 +0200
@@ -40,7 +40,7 @@
 
 def clean_repo_test_cls(cls):
     if 'repo' in cls.__dict__:
-        if not cls.repo._shutting_down:
+        if not cls.repo.shutting_down:
             cls.repo.shutdown()
         del cls.repo
     for clsattr in ('cnx', '_orig_cnx', 'config', '_config', 'vreg', 'schema'):