[pypy-commit] pypy py3k: adapt to py3

pjenvey noreply at buildbot.pypy.org
Fri Sep 12 00:15:22 CEST 2014


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: py3k
Changeset: r73488:ebbb9950dfa9
Date: 2014-09-11 15:07 -0700
http://bitbucket.org/pypy/pypy/changeset/ebbb9950dfa9/

Log:	adapt to py3

diff --git a/pypy/module/operator/test/test_operator.py b/pypy/module/operator/test/test_operator.py
--- a/pypy/module/operator/test/test_operator.py
+++ b/pypy/module/operator/test/test_operator.py
@@ -272,7 +272,7 @@
         a, b = 100, 200
         raises(TypeError, operator._compare_digest, a, b)
         a, b = "fooä", "fooä"
-        assert operator._compare_digest(a, b)
+        raises(TypeError, operator._compare_digest, a, b)
 
         # subclasses are supported by ignore __eq__
         class mystr(str):


More information about the pypy-commit mailing list