Skip to content

Commit

Permalink
fixup! test_collect_glob
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Nov 2, 2020
1 parent 62f0266 commit 1a062d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/test_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1544,7 +1544,7 @@ def test_collect_glob(testdir: "Testdir") -> None:
Ref: https://bugs.python.org/issue35306"""
result = testdir.runpytest("*")
assert result.ret == ExitCode.USAGE_ERROR
result.stderr.lines == ["ERROR: file not found: '*'"]
assert result.stderr.lines == ["ERROR: file not found: '*'", ""]

if sys.platform == "win32":
from py.error import ENOTDIR
Expand Down

0 comments on commit 1a062d8

Please sign in to comment.