-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Exclude pytest pathlib module from patching (#828)
- fixes some specific tests in namespace packages - fixes #814
- Loading branch information
1 parent
2a3a11c
commit f6e76bb
Showing
5 changed files
with
20 additions
and
0 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
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
7 changes: 7 additions & 0 deletions
7
pyfakefs/pytest_tests/ns_package/test/ns_package/test/test_file.py
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,7 @@ | ||
import pyfakefs.fake_filesystem | ||
|
||
|
||
def test_foo(fs): | ||
"""Regression test for #814 - must run in namespace package with cli logging.""" | ||
fs.os = pyfakefs.fake_filesystem.OSType.WINDOWS | ||
assert True |
Empty file.