https://bugzilla.wikimedia.org/show_bug.cgi?id=73122
Bug ID: 73122 Summary: Exception during Siteinfo can cause it to enter incorrect state Product: Pywikibot Version: core (2.0) Hardware: All OS: All Status: NEW Severity: minor Priority: Unprioritized Component: network Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
I've seen this occur a few times locally while in the shell, but not on travis previously.
https://travis-ci.org/wikimedia/pywikibot-core/jobs/40263585
test_direct_non_local fails during siteinfo , but then the site object is reused for test_indirect_non_local and it doesnt try again.
In my local testing, I can cause this to happen by pressing ^C during Site.namespaces, and then using the site object again.