diff options
author | Barry Warsaw <barry@python.org> | 2015-01-26 15:09:48 -0500 |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2015-01-26 15:09:48 -0500 |
commit | f5d6d0e6433f12d05676bea03f78d57966c35b0a (patch) | |
tree | cd7ea47bf86cdeed4ebd22d988f428e8ad135300 /tests/unittests/test_util.py | |
parent | 18b35de06432869a9d859e2978e7e9567eba66a2 (diff) | |
download | vyos-cloud-init-f5d6d0e6433f12d05676bea03f78d57966c35b0a.tar.gz vyos-cloud-init-f5d6d0e6433f12d05676bea03f78d57966c35b0a.zip |
Down to it.
Diffstat (limited to 'tests/unittests/test_util.py')
-rw-r--r-- | tests/unittests/test_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_util.py b/tests/unittests/test_util.py index b0207ace..f537d332 100644 --- a/tests/unittests/test_util.py +++ b/tests/unittests/test_util.py @@ -166,7 +166,7 @@ class TestDeleteDirContents(unittest.TestCase): def test_deletes_files(self): """Single file should be deleted.""" with open(os.path.join(self.tmp, "new_file.txt"), "wb") as f: - f.write("DELETE ME") + f.write(b"DELETE ME") util.delete_dir_contents(self.tmp) |