forked from pytest-dev/pytest
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package.name now contains only basname of the package
Previously it contained the entire path, which made '-k' match against any name in the full path of the package. Fix pytest-dev#7040
- Loading branch information
1 parent
3d3b951
commit c5b367b
Showing
5 changed files
with
43 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
``-k`` no longer matches against the names of the directories outside the test session root. | ||
|
||
Also, ``pytest.Package.name`` is now just the name of the directory containing the package's | ||
``__init__.py`` file, instead of the full path. This is consistent with how the other nodes | ||
are named, and also one of the reasons why ``-k`` would match against any directory containing | ||
the test suite. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters