File tree 1 file changed +4
-7
lines changed 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -832,8 +832,8 @@ def test_freeze_skip_work_dir_pkg(script):
832
832
expect_stderr = True , cwd = pkg_path )
833
833
834
834
# Freeze should not include package simple when run from package directory
835
- result = script .pip ('freeze' , 'simple' , cwd = pkg_path )
836
- _check_output ( result . stdout , '' )
835
+ result = script .pip ('freeze' , cwd = pkg_path )
836
+ assert 'simple==1.0' not in result . stdout
837
837
838
838
839
839
def test_freeze_include_work_dir_pkg (script ):
@@ -852,8 +852,5 @@ def test_freeze_include_work_dir_pkg(script):
852
852
script .environ .update ({'PYTHONPATH' : pkg_path })
853
853
854
854
# Freeze should include package simple when run from package directory
855
- result = script .pip ('freeze' , 'simple' , cwd = pkg_path )
856
- expected = textwrap .dedent ("""\
857
- simple==1.0
858
- <BLANKLINE>""" )
859
- _check_output (result .stdout , expected )
855
+ result = script .pip ('freeze' , cwd = pkg_path )
856
+ assert 'simple==1.0' in result .stdout
You can’t perform that action at this time.
0 commit comments