[pypy-svn] r64090 - pypy/branch/wip-fix-stackless-O2-pickling/pypy/module/_stackless/test

cfbolz at codespeak.net cfbolz at codespeak.net
Wed Apr 15 11:10:06 CEST 2009


Author: cfbolz
Date: Wed Apr 15 11:10:06 2009
New Revision: 64090

Modified:
   pypy/branch/wip-fix-stackless-O2-pickling/pypy/module/_stackless/test/test_pickle_infrastructure.py
Log:
(cfbolz, pedronis): make the test a bit more precise


Modified: pypy/branch/wip-fix-stackless-O2-pickling/pypy/module/_stackless/test/test_pickle_infrastructure.py
==============================================================================
--- pypy/branch/wip-fix-stackless-O2-pickling/pypy/module/_stackless/test/test_pickle_infrastructure.py	(original)
+++ pypy/branch/wip-fix-stackless-O2-pickling/pypy/module/_stackless/test/test_pickle_infrastructure.py	Wed Apr 15 11:10:06 2009
@@ -15,7 +15,7 @@
         res = pickle.loads(dump)
 
         # xxx identity preservation for the function would be better
-        assert res.func_code == sw.func_code
+        assert res.func_code is sw.func_code
         
 
 class FrameCheck(object):



More information about the Pypy-commit mailing list