Author: Matti Picus <[email protected]>
Branch: py3.6
Changeset: r94783:5e7061c8b5f3
Date: 2018-06-25 21:55 -0700
http://bitbucket.org/pypy/pypy/changeset/5e7061c8b5f3/

Log:    add test that fails with buildbot-built translation, passes on local
        translation

diff --git a/pypy/module/_codecs/test/test_codecs.py 
b/pypy/module/_codecs/test/test_codecs.py
--- a/pypy/module/_codecs/test/test_codecs.py
+++ b/pypy/module/_codecs/test/test_codecs.py
@@ -1007,7 +1007,9 @@
         with warnings.catch_warnings(record=True) as l:
             warnings.simplefilter("always")
             codecs.unicode_escape_decode(b'\\A')
+            codecs.unicode_escape_decode(b"\\A")
 
+        assert len(l) == 2
         assert isinstance(l[0].message, DeprecationWarning)
 
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to