Skip to content

Commit 4dc8710

Browse files
authored
Tweak freeze comment when no version control detected. (#6128)
1 parent a099136 commit 4dc8710

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/pip/_internal/operations/freeze.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ def get_requirement_info(dist):
182182
location,
183183
)
184184
comments = [
185-
'# Editable, no version control detected ({})'.format(req)
185+
'# Editable install with no version control ({})'.format(req)
186186
]
187187
return (location, True, comments)
188188

tests/functional/test_freeze.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def test_freeze_editable_not_vcs(script, tmpdir):
131131
# We need to apply os.path.normcase() to the path since that is what
132132
# the freeze code does.
133133
expected = textwrap.dedent("""\
134-
...# Editable, no version control detected (version-pkg==0.1)
134+
...# Editable install with no version control (version-pkg==0.1)
135135
-e {}
136136
...""".format(os.path.normcase(pkg_path)))
137137
_check_output(result.stdout, expected)

0 commit comments

Comments
 (0)