Author: Philip Jenvey <pjen...@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&#228;", "foo&#228;"
-        assert operator._compare_digest(a, b)
+        raises(TypeError, operator._compare_digest, a, b)
 
         # subclasses are supported by ignore __eq__
         class mystr(str):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to