Last modified: 2014-09-18 17:40:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72983, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70983 - wikidataquery tests win32 py3 error
wikidataquery tests win32 py3 error
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
core-(2.0)
All All
: Unprioritized normal
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks: pwbpy3
  Show dependency treegraph
 
Reported: 2014-09-18 03:58 UTC by John Mark Vandenberg
Modified: 2014-09-18 17:40 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2014-09-18 03:58:06 UTC
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
Comment 1 Fabian 2014-09-18 17:40:48 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links