diff options
author | Guido Günther <agx@sigxcpu.org> | 2017-08-02 01:32:37 -0300 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2017-08-02 01:32:37 -0300 |
commit | 00c4b65ae5e6144a3cb8383a96b93b8462c3f01f (patch) | |
tree | 8c1f3bf66d528ca9b7efbd41930d5f94a7c8b83d /tests/12_test_deb.py | |
parent | 7ab1514eb4cf21f57e2dc638acdfab82bbdd472e (diff) |
12_test_deb: port to python3
Diffstat (limited to 'tests/12_test_deb.py')
-rw-r--r-- | tests/12_test_deb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/12_test_deb.py b/tests/12_test_deb.py index b62435d7..25c7ab1f 100644 --- a/tests/12_test_deb.py +++ b/tests/12_test_deb.py @@ -57,7 +57,7 @@ Files: def setUp(self): with tempfile.NamedTemporaryFile(delete=False) as self.dscfile: - self.dscfile.write(self.content) + self.dscfile.write(self.content.encode()) def tearDown(self): os.unlink(self.dscfile.name) @@ -102,7 +102,7 @@ Files: def setUp(self): with tempfile.NamedTemporaryFile(delete=False) as self.dscfile: - self.dscfile.write(self.content) + self.dscfile.write(self.content.encode()) def tearDown(self): os.unlink(self.dscfile.name) |