Fixed issue in test_show for failing test

This commit is contained in:
Devesh Kumar Singh 2020-04-06 00:27:30 +05:30
parent 2324ae422e
commit 29b4ec79ed
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ def test_show_skip_work_dir_pkg(script):
expect_stderr=True, cwd=pkg_path)
# Show should not include package simple when run from package directory
result = script.pip('show', 'simple', cwd=pkg_path)
result = script.pip('show', 'simple', expect_error=True, cwd=pkg_path)
assert 'WARNING: Package(s) not found: simple' in result.stderr