-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Open
Labels
platform: windowswindows platform-specific problemwindows platform-specific problemtopic: rewriterelated to the assertion rewrite mechanismrelated to the assertion rewrite mechanismtype: selftestsa problem in the tests of pytesta problem in the tests of pytest
Description
See https://github.com/pytest-dev/pytest/actions/runs/1448359677 and https://github.com/pytest-dev/pytest/actions/runs/1449499760:
# test file: rewritten, custom pytest cache tag
test_foo_pyc = get_cache_dir(test_foo) / ("test_foo" + PYC_TAIL)
> assert test_foo_pyc.is_file()
E AssertionError: assert False
E + where False = <bound method Path.is_file of WindowsPath('C:/Users/runneradmin/AppData/Local/Temp/pytest-of-runneradmin/pytest-0/pope...n/pytest-0/popen-gw0/test_sys_pycache_prefix_integration0/src/test_foo.cpython-39-pytest-7.0.0.dev312+g17b38259f.pyc')>()
#9294 was a doc-fix only though... Test introduced in #5864 for #4730.
Metadata
Metadata
Assignees
Labels
platform: windowswindows platform-specific problemwindows platform-specific problemtopic: rewriterelated to the assertion rewrite mechanismrelated to the assertion rewrite mechanismtype: selftestsa problem in the tests of pytesta problem in the tests of pytest