From c15c9f4236f7ae24819438dff18f9ee68ae223c3 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Sun, 19 Nov 2000 16:40:25 +0000 Subject: [PATCH] A fix for Python 2.0 compatibility [SVN r8256] --- test_extclass.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test_extclass.py b/test_extclass.py index 259b6c32..afe7d0f8 100644 --- a/test_extclass.py +++ b/test_extclass.py @@ -509,8 +509,7 @@ some __str__ and __repr__ tests: >>> range = Range(5, 20) >>> str(range) '(5, 20)' - >>> assert re.match('', repr(range)) - + >>> assert re.match('', repr(range)) __hash__ and __cmp__ tests: # Range has both __hash__ and __cmp__, thus is hashable