Skip to content

Comments

main: improve message on pytest path/to/a/directory::mytest#7668

Merged
bluetech merged 1 commit intopytest-dev:masterfrom
bluetech:dir-match-msg
Aug 23, 2020
Merged

main: improve message on pytest path/to/a/directory::mytest#7668
bluetech merged 1 commit intopytest-dev:masterfrom
bluetech:dir-match-msg

Conversation

@bluetech
Copy link
Member

The path part of a <path>::part1::part2 style collection argument must be a file, not a directory.

Previously this crashed with an uncool assert "invalid arg".

The path part of a `<path>::part1::part2` style collection argument must
be a file, not a directory.

Previously this crashed with an uncool assert "invalid arg".
Copy link
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool 👍

@bluetech bluetech merged commit 837687c into pytest-dev:master Aug 23, 2020
@bluetech bluetech deleted the dir-match-msg branch August 24, 2020 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants