Author: Alecsandru Patrascu <alecsandru.patra...@intel.com>
Branch: 
Changeset: r83538:1ceea7a807e1
Date: 2016-04-06 11:44 +0300
http://bitbucket.org/pypy/pypy/changeset/1ceea7a807e1/

Log:    (cfbolz, palecsandru): Fix failing test that was not adapted when
        the implementation changed.

diff --git a/pypy/module/__pypy__/test/test_magic.py 
b/pypy/module/__pypy__/test/test_magic.py
--- a/pypy/module/__pypy__/test/test_magic.py
+++ b/pypy/module/__pypy__/test/test_magic.py
@@ -53,7 +53,7 @@
         assert _promote(1) == 1
         assert _promote(1.1) == 1.1
         assert _promote("abc") == "abc"
-        assert _promote(u"abc") == u"abc"
+        raises(TypeError, _promote, u"abc")
         l = []
         assert _promote(l) is l
         class A(object):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to