Author: Armin Rigo <[email protected]>
Branch: py3.5
Changeset: r88911:18e8a3f27525
Date: 2016-12-06 16:42 +0100
http://bitbucket.org/pypy/pypy/changeset/18e8a3f27525/
Log: fix test
diff --git a/lib-python/3/test/test_reprlib.py
b/lib-python/3/test/test_reprlib.py
--- a/lib-python/3/test/test_reprlib.py
+++ b/lib-python/3/test/test_reprlib.py
@@ -407,7 +407,8 @@
wrapped = MyContainer3.wrapped
wrapper = MyContainer3.wrapper
for name in assigned:
- self.assertIs(getattr(wrapper, name), getattr(wrapped, name))
+ # pypy fix: can't use assertIs() to compare two strings
+ self.assertEqual(getattr(wrapper, name), getattr(wrapped, name))
if __name__ == "__main__":
unittest.main()
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit