summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_repr.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-08-09 21:40:30 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-08-09 21:40:30 (GMT)
commitab9ba27dc066adc6423ea137b9481cf524d10ffd (patch)
treec49709063ec8de0eae358ef462e9fe5faa0c44a0 /Lib/test/test_repr.py
parentc7ca3ffba3d41f24f6f66d40391a044f199785ac (diff)
downloadcpython-ab9ba27dc066adc6423ea137b9481cf524d10ffd.zip
cpython-ab9ba27dc066adc6423ea137b9481cf524d10ffd.tar.gz
cpython-ab9ba27dc066adc6423ea137b9481cf524d10ffd.tar.bz2
Whitespace normalization.
Diffstat (limited to 'Lib/test/test_repr.py')
-rw-r--r--Lib/test/test_repr.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_repr.py b/Lib/test/test_repr.py
index 9034711..cf423f9 100644
--- a/Lib/test/test_repr.py
+++ b/Lib/test/test_repr.py
@@ -5,7 +5,7 @@
import unittest
from test_support import run_unittest
-from repr import repr as r # Don't shadow builtin repr
+from repr import repr as r # Don't shadow builtin repr
def nestedTuple(nesting):
@@ -24,7 +24,7 @@ class ReprTests(unittest.TestCase):
s = "a"*30+"b"*30
expected = `s`[:13] + "..." + `s`[-14:]
eq(r(s), expected)
-
+
eq(r("\"'"), repr("\"'"))
s = "\""*30+"'"*100
expected = `s`[:13] + "..." + `s`[-14:]
@@ -67,7 +67,7 @@ class ReprTests(unittest.TestCase):
eq = self.assertEquals
i1 = ClassWithRepr("a")
eq(r(i1), repr(i1))
-
+
i2 = ClassWithRepr("x"*1000)
expected = `i2`[:13] + "..." + `i2`[-14:]
eq(r(i2), expected)