diff options
| author | Antoine Pitrou <solipsis@pitrou.net> | 2008-09-15 23:54:52 (GMT) |
|---|---|---|
| committer | Antoine Pitrou <solipsis@pitrou.net> | 2008-09-15 23:54:52 (GMT) |
| commit | d62269f9207ca9ac539c9216a9b41cab4f62d5e4 (patch) | |
| tree | 2044573ff07d7643a808bfce68f840c47a0986c7 /Lib/test/test_tempfile.py | |
| parent | 9cadb1b6e0d10aaeb8f9e69e51f672a53de6b164 (diff) | |
| download | cpython-d62269f9207ca9ac539c9216a9b41cab4f62d5e4.zip cpython-d62269f9207ca9ac539c9216a9b41cab4f62d5e4.tar.gz cpython-d62269f9207ca9ac539c9216a9b41cab4f62d5e4.tar.bz2 | |
Fix Windows buildbot failures after r66469.
Diffstat (limited to 'Lib/test/test_tempfile.py')
| -rw-r--r-- | Lib/test/test_tempfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tempfile.py b/Lib/test/test_tempfile.py index 0e5cb0f..0ef0925 100644 --- a/Lib/test/test_tempfile.py +++ b/Lib/test/test_tempfile.py @@ -314,7 +314,7 @@ class test__mkstemp_inner(TC): if not has_textmode: return # ugh, can't use TestSkipped. - self.do_create(bin=0).write("blat\n") + self.do_create(bin=0).write(b"blat\n") # XXX should test that the file really is a text file test_classes.append(test__mkstemp_inner) |
