Skip to content

Commit bea6c7d

Browse files
committed
Merge pull request #1 from msabramo/patch-2
Make test_missing_argument expect error
2 parents 52849b7 + 3c13267 commit bea6c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/functional/test_show.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test_missing_argument(script):
6464
"""
6565
Test show command with no arguments.
6666
"""
67-
result = script.pip('show')
67+
result = script.pip('show', expect_error=True)
6868
assert 'ERROR: Please provide a package name or names.' in result.stdout
6969

7070

0 commit comments

Comments
 (0)