Author: Armin Rigo <[email protected]>
Branch:
Changeset: r91607:4a32e5d6f559
Date: 2017-06-15 11:28 +0200
http://bitbucket.org/pypy/pypy/changeset/4a32e5d6f559/
Log: improve test
diff --git a/pypy/module/test_lib_pypy/test_cPickle.py
b/pypy/module/test_lib_pypy/test_cPickle.py
--- a/pypy/module/test_lib_pypy/test_cPickle.py
+++ b/pypy/module/test_lib_pypy/test_cPickle.py
@@ -28,6 +28,6 @@
f = cStringIO.StringIO(f.getvalue())
up = cPickle.Unpickler(f)
- up.find_global = lambda module, name: lambda a, b: (a, b)
+ up.find_global = lambda module, name: lambda a, b: (name, a, b)
e = up.load()
- assert e == ((2017, 3, 27, 22, 20, 42, 4, 86, -1), {})
+ assert e == ('struct_time', (2017, 3, 27, 22, 20, 42, 4, 86, -1), {})
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit