summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_regex.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-16 13:51:48 (GMT)
committerGuido van Rossum <guido@python.org>1997-05-16 13:51:48 (GMT)
commit3f11da0aafaad640ad6f01a576696fbbcd99597e (patch)
treedd5cb6ba25fd9486d8168271f8980a91a75a6df3 /Lib/test/test_regex.py
parent9522274205aa93cda20bb79aa6d1ee75e0ba5707 (diff)
downloadcpython-3f11da0aafaad640ad6f01a576696fbbcd99597e.zip
cpython-3f11da0aafaad640ad6f01a576696fbbcd99597e.tar.gz
cpython-3f11da0aafaad640ad6f01a576696fbbcd99597e.tar.bz2
Changes to make these tests work on the Mac.
Diffstat (limited to 'Lib/test/test_regex.py')
-rw-r--r--Lib/test/test_regex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_regex.py b/Lib/test/test_regex.py
index 9d25d92..078ca40 100644
--- a/Lib/test/test_regex.py
+++ b/Lib/test/test_regex.py
@@ -48,7 +48,7 @@ print 'case folded search:', cre.search('HELLO WORLD')
print '__members__:', cre.__members__
print 'regs:', cre.regs
print 'last:', cre.last
-print 'translate:', `cre.translate`
+print 'translate:', len(cre.translate)
print 'givenpat:', cre.givenpat
print 'match with pos:', cre.match('hello world', 7)