From: Bob Halley Date: Tue, 16 Jun 2020 00:18:37 +0000 (-0700) Subject: attempt to fix the last windows error X-Git-Tag: v2.0.0rc1~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39f5a456e22c0ec4bf661ec0f255223036472552;p=thirdparty%2Fdnspython.git attempt to fix the last windows error --- diff --git a/tests/test_zone.py b/tests/test_zone.py index 96a9d1b2..27470c16 100644 --- a/tests/test_zone.py +++ b/tests/test_zone.py @@ -219,7 +219,7 @@ class ZoneTestCase(unittest.TestCase): def testToFileBinaryStream(self): # type: () -> None z = dns.zone.from_text(example_text, 'example.', relativize=True) f = BytesIO() - z.to_file(f) + z.to_file(f, nl=b'\n') out = f.getvalue() f.close() self.assertEqual(out, example_text_output.encode())