https://bugzilla.wikimedia.org/show_bug.cgi?id=70983
Bug ID: 70983 Summary: wikidataquery tests win32 py3 error Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: normal Priority: Unprioritized Component: General Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
This only appeared on a warm cache
====================================================================== FAIL: testQueryApiGetter (tests.wikidataquery_tests.TestApiSlowFunctions) Test that we can actually retreive data and that caching works. ---------------------------------------------------------------------- Traceback (most recent call last): File "c:\pywiki\gerrit\tests\wikidataquery_tests.py", line 240, in testQueryAp iGetter self.assertFalse(os.path.exists(cacheFile)) AssertionError: True is not false
https://bugzilla.wikimedia.org/show_bug.cgi?id=70983
John Mark Vandenberg jayvdb@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |58053
https://bugzilla.wikimedia.org/show_bug.cgi?id=70983
Fabian CommodoreFabianus@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |CommodoreFabianus@gmx.de
--- Comment #1 from Fabian CommodoreFabianus@gmx.de --- In line 234 it might throw an OSError. Might be helpful to know if it throws an error and what type that is (for those who can't quickly test that on Windows).
Because it looks to me that the deletion doesn't work, for example because the file wasn't closed.
pywikipedia-bugs@lists.wikimedia.org