Skip to content

Commit 409f86d

Browse files
committed
Added genericpath to SKIPNAMES
- this seems to fix the problem that using real os.path functions implemented in this module are stubbed out
1 parent 951b432 commit 409f86d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyfakefs/fake_filesystem_unittest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ class Patcher(object):
226226

227227
# To add py.test support per issue https://github.com/jmcgeheeiv/pyfakefs/issues/43,
228228
# it appears that adding 'py', 'pytest', '_pytest' to SKIPNAMES will help
229-
SKIPNAMES = set(['os', 'path', 'tempfile', 'io'])
229+
SKIPNAMES = set(['os', 'path', 'tempfile', 'io', 'genericpath'])
230230
if HAS_PATHLIB:
231231
SKIPNAMES.add('pathlib')
232232

0 commit comments

Comments
 (0)