[pypy-commit] pypy py3.6: add test that fails with buildbot-built translation, passes on local translation

mattip pypy.commits at gmail.com
Tue Jun 26 12:13:03 EDT 2018


Author: Matti Picus <matti.picus at gmail.com>
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)
 
 


More information about the pypy-commit mailing list