Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r53862:6ba6cbf1a740
Date: 2012-03-21 12:16 +0100
http://bitbucket.org/pypy/pypy/changeset/6ba6cbf1a740/
Log: kill long and unicode
diff --git a/pypy/objspace/std/test/test_obj.py
b/pypy/objspace/std/test/test_obj.py
--- a/pypy/objspace/std/test/test_obj.py
+++ b/pypy/objspace/std/test/test_obj.py
@@ -137,10 +137,10 @@
assert self.unwrap_wrap_bytes(s) is s
def test_is_on_subclasses(self):
- for typ in [int, long, float, complex, str, unicode]:
+ for typ in [int, float, complex, str]:
class mytyp(typ):
pass
- if not self.cpython_apptest and typ not in (str, unicode):
+ if not self.cpython_apptest and typ is not str:
assert typ(42) is typ(42)
assert mytyp(42) is not mytyp(42)
assert mytyp(42) is not typ(42)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit