diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-09-18 21:24:18 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-09-18 21:24:18 (GMT) |
commit | 50fda6c21fac39e440815acf75149e1e420cf4d7 (patch) | |
tree | 8d2c1d884ead1fd7bc58106a3614d9ced9927989 /Lib/test | |
parent | 0639f59859f7b1e7757dc34367f6953609943d47 (diff) | |
download | cpython-50fda6c21fac39e440815acf75149e1e420cf4d7.zip cpython-50fda6c21fac39e440815acf75149e1e420cf4d7.tar.gz cpython-50fda6c21fac39e440815acf75149e1e420cf4d7.tar.bz2 |
Enable some comparison tests that failed before. Still having problems
with subsclasses of complex and string.
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_descr.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py index 4ed85df..2cd16c6 100644 --- a/Lib/test/test_descr.py +++ b/Lib/test/test_descr.py @@ -1416,7 +1416,7 @@ def inherits(): verify(repr(hexint(7) + 9) == "0x10") verify(repr(hexint(1000) + 7) == "0x3ef") a = hexint(12345) - #XXX verify(a == 12345) + verify(a == 12345) verify(int(a) == 12345) verify(int(a).__class__ is int) verify(hash(a) == hash(12345)) @@ -1441,7 +1441,7 @@ def inherits(): # because the example uses a short int left argument.) verify(str(5 + octlong(3000)) == "05675") a = octlong(12345) - #XXX verify(a == 12345L) + verify(a == 12345L) verify(long(a) == 12345L) verify(hash(a) == hash(12345L)) verify(long(a).__class__ is long) @@ -1479,7 +1479,7 @@ def inherits(): return "%.*g" % (self.prec, self) verify(repr(precfloat(1.1)) == "1.1") a = precfloat(12345) - #XXX verify(a == 12345.0) + verify(a == 12345.0) verify(float(a) == 12345.0) verify(float(a).__class__ is float) verify(hash(a) == hash(12345.0)) |