[py-svn] r57166 - py/branch/event/py/test2/dist/testing

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


Author: hpk
Date: Sun Aug 10 17:25:17 2008
New Revision: 57166

Modified:
   py/branch/event/py/test2/dist/testing/test_mypickle.py
Log:
remove test bug


Modified: py/branch/event/py/test2/dist/testing/test_mypickle.py
==============================================================================
--- py/branch/event/py/test2/dist/testing/test_mypickle.py	(original)
+++ py/branch/event/py/test2/dist/testing/test_mypickle.py	Sun Aug 10 17:25:17 2008
@@ -94,6 +94,7 @@
             channel.send(l)
             other_l = channel.receive() 
             channel.send((l, other_l))
+            channel.send(channel.receive())
             channel.receive()
         """)
         channel = PickleChannel(channel)
@@ -104,6 +105,8 @@
         ret = channel.receive()
         assert ret[0] is other_l
         assert ret[1] is l 
+        back = channel.receive()
+        assert other_l is other_l 
         channel.send(None)
 
     #s1 = p1.dumps(a1)  



More information about the pytest-commit mailing list