From 29b4ec79ed82cf968463f5967af1fa2f94489fc5 Mon Sep 17 00:00:00 2001 From: Devesh Kumar Singh Date: Mon, 6 Apr 2020 00:27:30 +0530 Subject: [PATCH] Fixed issue in test_show for failing test --- tests/functional/test_show.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/test_show.py b/tests/functional/test_show.py index fab1be27b..ba0e9d407 100644 --- a/tests/functional/test_show.py +++ b/tests/functional/test_show.py @@ -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