summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_decimal.py
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:29:44 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:29:44 (GMT)
commit7096760b2511df9b0e2ec846df9eb72c59e785fc (patch)
tree24a93465b1325a58b51e00eaf3924c5ec4bffd33 /Lib/test/test_decimal.py
parent7c3072437a8f2e4cd487e38d46ea99d0026bd4c2 (diff)
downloadcpython-7096760b2511df9b0e2ec846df9eb72c59e785fc.zip
cpython-7096760b2511df9b0e2ec846df9eb72c59e785fc.tar.gz
cpython-7096760b2511df9b0e2ec846df9eb72c59e785fc.tar.bz2
Get rid of xreadlines() (methods).
Diffstat (limited to 'Lib/test/test_decimal.py')
-rw-r--r--Lib/test/test_decimal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py
index 34f034b..7d0addf 100644
--- a/Lib/test/test_decimal.py
+++ b/Lib/test/test_decimal.py
@@ -132,7 +132,7 @@ class DecimalTest(unittest.TestCase):
if skip_expected:
raise TestSkipped
return
- for line in open(file).xreadlines():
+ for line in open(file):
line = line.replace('\r\n', '').replace('\n', '')
#print line
try: