diff options
| author | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 08:29:44 +0000 |
|---|---|---|
| committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-03-17 08:29:44 +0000 |
| commit | 7096760b2511df9b0e2ec846df9eb72c59e785fc (patch) | |
| tree | 24a93465b1325a58b51e00eaf3924c5ec4bffd33 /Lib/test/test_decimal.py | |
| parent | 7c3072437a8f2e4cd487e38d46ea99d0026bd4c2 (diff) | |
| download | cpython-git-7096760b2511df9b0e2ec846df9eb72c59e785fc.tar.gz | |
Get rid of xreadlines() (methods).
Diffstat (limited to 'Lib/test/test_decimal.py')
| -rw-r--r-- | Lib/test/test_decimal.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py index 34f034b850..7d0addf217 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: |
