oops, 'not' missing
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 04 Mar 2010 12:08:09 +0100
changeset 4796 a20edc0f8b30
parent 4795 f1c8bc628b45
child 4797 c8d5fcc3d64a
oops, 'not' missing
pytestconf.py
--- a/pytestconf.py	Thu Mar 04 12:07:54 2010 +0100
+++ b/pytestconf.py	Thu Mar 04 12:08:09 2010 +0100
@@ -21,7 +21,7 @@
 
 def clean_repo_test_cls(cls):
     if 'repo' in cls.__dict__:
-        if 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'):