Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r54437:16ccffcad1fb
Date: 2012-04-16 18:07 +0200
http://bitbucket.org/pypy/pypy/changeset/16ccffcad1fb/
Log: kill this test, it does not make sense now that we have string vs
bytes
diff --git a/pypy/objspace/std/test/test_builtinshortcut.py
b/pypy/objspace/std/test/test_builtinshortcut.py
--- a/pypy/objspace/std/test/test_builtinshortcut.py
+++ b/pypy/objspace/std/test/test_builtinshortcut.py
@@ -60,24 +60,6 @@
x += 6.5
assert x == 'foo'
assert 5 + 6.5 == 11.5
-
- def test_unicode_string_compares(self):
- assert u'a' == 'a'
- assert 'a' == u'a'
- assert not u'a' == 'b'
- assert not 'a' == u'b'
- assert u'a' != 'b'
- assert 'a' != u'b'
- assert not (u'a' == 5)
- assert u'a' != 5
- assert u'a' < 5 or u'a' > 5
-
- s = chr(128)
- u = unichr(128)
- assert not s == u # UnicodeWarning
- assert s != u
- assert not u == s
- assert u != s
class AppTestSet(test_setobject.AppTestAppSetTest):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit