mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Get rid of xreadlines() (methods).
This commit is contained in:
parent
7c3072437a
commit
7096760b25
11 changed files with 9 additions and 47 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue