summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/test_install.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/packaging/tests/test_install.py')
-rw-r--r--Lib/packaging/tests/test_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/packaging/tests/test_install.py b/Lib/packaging/tests/test_install.py
index 8aae4ac..7bdee94 100644
--- a/Lib/packaging/tests/test_install.py
+++ b/Lib/packaging/tests/test_install.py
@@ -227,7 +227,7 @@ class TestInstall(LoggingCatcher, TempdirManager, unittest.TestCase):
newpath = self.mkdtemp()
files = [os.path.join(path, str(x)) for x in range(1, 20)]
for f in files:
- open(f, 'a+').close()
+ open(f, 'ab+').close()
output = [o for o in install._move_files(files, newpath)]
# check that output return the list of old/new places