diff options
Diffstat (limited to 'Lib/test/test_tools/test_lll.py')
| -rw-r--r-- | Lib/test/test_tools/test_lll.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_tools/test_lll.py b/Lib/test/test_tools/test_lll.py index ec0c973..6eeb96e 100644 --- a/Lib/test/test_tools/test_lll.py +++ b/Lib/test/test_tools/test_lll.py @@ -22,7 +22,7 @@ class lllTests(unittest.TestCase): fn1 = os.path.join(dir1, 'foo1') fn2 = os.path.join(dir2, 'foo2') for fn, dir in (fn1, dir1), (fn2, dir2): - open(fn, 'w').close() + open(fn, 'wb').close() os.symlink(fn, os.path.join(dir, 'symlink')) with support.captured_stdout() as output: |
