summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_long.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2005-06-29 23:29:56 (GMT)
committerRaymond Hettinger <python@rcn.com>2005-06-29 23:29:56 (GMT)
commit3296e696db4e46f63f7a5348ac977b2b0a32ecbc (patch)
tree1d3c84dcc09208485d3ecc8e4749fa8bdb2786a1 /Lib/test/test_long.py
parentd4128f397dbfe400e34d399d6b4595240b3de546 (diff)
downloadcpython-3296e696db4e46f63f7a5348ac977b2b0a32ecbc.zip
cpython-3296e696db4e46f63f7a5348ac977b2b0a32ecbc.tar.gz
cpython-3296e696db4e46f63f7a5348ac977b2b0a32ecbc.tar.bz2
SF bug #1224347: int/long unification and hex()
Hex longs now print with lowercase letters like their int counterparts.
Diffstat (limited to 'Lib/test/test_long.py')
-rw-r--r--Lib/test/test_long.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_long.py b/Lib/test/test_long.py
index ac786bd..7b0c7b0 100644
--- a/Lib/test/test_long.py
+++ b/Lib/test/test_long.py
@@ -208,7 +208,7 @@ class LongTest(unittest.TestCase):
digits = digits or [0]
return '-'[:sign] + \
{8: '0', 10: '', 16: '0x'}[base] + \
- "".join(map(lambda i: "0123456789ABCDEF"[i], digits)) + "L"
+ "".join(map(lambda i: "0123456789abcdef"[i], digits)) + "L"
def check_format_1(self, x):
for base, mapper in (8, oct), (10, repr), (16, hex):