Skip to content

Commit 8cd6e01

Browse files
authored
Merge pull request #5504 from pypa/fix-5503
requirements: fix generation of file
2 parents 5f27dea + f57dac1 commit 8cd6e01

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pipenv/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ def do_create_virtualenv(project, python=None, site_packages=None, pypi_mirror=N
10261026
)
10271027
)
10281028
else:
1029-
console.print(
1029+
err.print(
10301030
environments.PIPENV_SPINNER_OK_TEXT.format(
10311031
"Successfully created virtual environment!"
10321032
)

tests/integration/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def test_pipenv_three(pipenv_instance_pypi):
247247
with pipenv_instance_pypi() as p:
248248
c = p.pipenv('--three')
249249
assert c.returncode == 0
250-
assert 'Successfully created virtual environment' in c.stdout
250+
assert 'Successfully created virtual environment' in c.stderr
251251

252252

253253
@pytest.mark.outdated

0 commit comments

Comments
 (0)