Skip to content

Commit d4bbbd0

Browse files
committed
Fix tests expecting --copies on Windows, which is now the default
Signed-off-by: Filipe Laíns <[email protected]>
1 parent c715439 commit d4bbbd0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Lib/test/test_venv.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ def _check_output_of_default_create(self):
153153
self.assertIn('home = %s' % path, data)
154154
self.assertIn('executable = %s' %
155155
os.path.realpath(sys.executable), data)
156-
copies = '' if os.name=='nt' else ' --copies'
157-
cmd = (f'command = {sys.executable} -m venv{copies} --without-pip '
156+
cmd = (f'command = {sys.executable} -m venv --without-pip '
158157
f'--without-scm-ignore-files {self.env_dir}')
159158
self.assertIn(cmd, data)
160159
fn = self.get_env_file(self.bindir, self.exe)

0 commit comments

Comments
 (0)