[py-svn] r57163 - py/branch/event/py/test2

hpk at codespeak.net hpk at codespeak.net
Sun Aug 10 17:09:52 CEST 2008


Author: hpk
Date: Sun Aug 10 17:09:50 2008
New Revision: 57163

Modified:
   py/branch/event/py/test2/collect.py
Log:
insert assertion


Modified: py/branch/event/py/test2/collect.py
==============================================================================
--- py/branch/event/py/test2/collect.py	(original)
+++ py/branch/event/py/test2/collect.py	Sun Aug 10 17:09:50 2008
@@ -93,6 +93,7 @@
         return (self.name, self.parent)
     def __setstate__(self, (name, parent)):
         newnode = parent.join(name)
+        assert newnode is not None, (self, name, parent)
         self.__dict__.update(newnode.__dict__)
         #self.__init__(name=name, parent=parent)
 



More information about the pytest-commit mailing list