File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ def test_resolve_skip_unmatched_requirements(pipenv_instance_pypi):
155155 c = p .pipenv ("lock" )
156156 assert c .returncode == 0
157157 assert (
158- "Could not find a version of missing-package; "
158+ "Could not find a version of missing-package ; "
159159 "os_name == 'FakeOS' that matches your environment"
160160 ) in c .stderr
161161
@@ -547,14 +547,19 @@ def test_lock_with_incomplete_source(pipenv_instance_private_pypi):
547547
548548@pytest .mark .lock
549549@pytest .mark .install
550+ @pytest .mark .skip
551+ # We get warning: Creating a LegacyVersion has been deprecated and will be removed in the next major release
552+ # https://github.com/pypa/pip/issues/9250
550553def test_lock_no_warnings (pipenv_instance_pypi , recwarn ):
551554 with pipenv_instance_pypi (chdir = True ) as p :
552555 c = p .pipenv ("install six" )
553556 assert c .returncode == 0
557+ print (recwarn )
558+ print (vars (recwarn ))
559+ print (recwarn [0 ])
554560 assert len (recwarn ) == 0
555561
556562
557-
558563@pytest .mark .vcs
559564@pytest .mark .lock
560565def test_vcs_lock_respects_top_level_pins (pipenv_instance_private_pypi ):
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ def test_requirements_markers_get_included(pipenv_instance_pypi):
121121
122122 c = p .pipenv ('requirements' )
123123 assert c .returncode == 0
124- assert f'{ package } { version } ; { markers } ' in c .stdout
124+ assert f'{ package } { version } ; { markers } ' in c .stdout
125125
126126
127127@pytest .mark .requirements
You can’t perform that action at this time.
0 commit comments