_node_cache in #2283 may sometimes cause tests to get lost #4007
Labels
topic: fixtures
anything involving fixtures directly or indirectly
type: bug
problem that needs to be addressed
type: regression
indicates a problem that was introduced in a release which was working previously
Ref: web-platform-tests/wpt#13119
The cache is keyed on
(type(x), x.fspath)
, and in our case, we ended with the exact same key for every test.We are running
pytest -vv tests
(through tox) inresources/test
, wheretests
is the subdirectory that contains our HTML test files. Abridged code is:where
parent
is<Session 'test'>
. TheNode
constructor initializesfspath
tolocal('/web-platform-tests/resources/test'))
for each of the tests, and we end up running only the first one.Please let me know if I can provide more information.
#2283
The text was updated successfully, but these errors were encountered: