You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and run it using pytest -v gcsfs/tests/test_core.py::test_stale_isfile then the isfile assert fails. If you then remove the commented-out line to force a gcs.find then the test passes.
The text was updated successfully, but these errors were encountered:
find() does possibly do some rewriting of dircache (as in #561 ), so that's what I would look at first. cp() is supposed to reset the dircache for the target, so the other thing to check is whether gcs.invalidate_cache() before isfile gives the correct result.
Whilst trying to get the new abstract test harness working on gcsfs, I have come across an issue of a
gcs.isfile()
test erroneously failing.If you add the following code to
gcsfs/tests/test_core.py
:and run it using
pytest -v gcsfs/tests/test_core.py::test_stale_isfile
then theisfile
assert fails. If you then remove the commented-out line to force agcs.find
then the test passes.The text was updated successfully, but these errors were encountered: