summaryrefslogtreecommitdiff
path: root/tests/test_zone.py
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-06-15 17:18:37 -0700
committerBob Halley <halley@dnspython.org>2020-06-15 17:18:37 -0700
commit39f5a456e22c0ec4bf661ec0f255223036472552 (patch)
treea496db754adc78b37d119a2c80de2cd5a1bd2a08 /tests/test_zone.py
parentb29af56b8c7738278ca26fc209c5a78764c6d614 (diff)
downloaddnspython-39f5a456e22c0ec4bf661ec0f255223036472552.tar.gz
attempt to fix the last windows error
Diffstat (limited to 'tests/test_zone.py')
-rw-r--r--tests/test_zone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_zone.py b/tests/test_zone.py
index 96a9d1b..27470c1 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())