mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Py3.2 fix
This commit is contained in:
parent
81076d5f29
commit
918c77e98a
|
@ -196,9 +196,9 @@ class TestFileEps(PillowTestCase):
|
||||||
def test_readline(self):
|
def test_readline(self):
|
||||||
# check all the freaking line endings possible from the spec
|
# check all the freaking line endings possible from the spec
|
||||||
#test_string = u'something\r\nelse\n\rbaz\rbif\n'
|
#test_string = u'something\r\nelse\n\rbaz\rbif\n'
|
||||||
line_endings = [u'\r\n', u'\n']
|
line_endings = ['\r\n', '\n']
|
||||||
not_working_endings = [u'\n\r', u'\r']
|
not_working_endings = ['\n\r', '\r']
|
||||||
strings = [u'something', u'else', u'baz', u'bif']
|
strings = ['something', 'else', 'baz', 'bif']
|
||||||
|
|
||||||
for ending in line_endings:
|
for ending in line_endings:
|
||||||
s = ending.join(strings)
|
s = ending.join(strings)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user