mirror of https://github.com/scrapy/scrapy.git
test_utils_iterators: use os.linesep
This commit is contained in:
parent
cf41803089
commit
ea3e675801
|
|
@ -8,7 +8,7 @@ from scrapy.http import XmlResponse, TextResponse, Response
|
|||
from tests import get_testdata
|
||||
|
||||
|
||||
FOOBAR_NL = u"foo\nbar"
|
||||
FOOBAR_NL = "foo{}bar".format(os.linesep)
|
||||
|
||||
|
||||
class XmliterTestCase(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Reference in New Issue