I got an KeyError when use goless.
Closed this issue · 1 comments
codeskyblue commented
the error is
Exception KeyError: KeyError(41882928,) in <module 'threading' from 'C:\Python27\Lib\threading.pyc'> ignored
and this is my code https://gist.github.com/codeskyblue/1b8dca59879b193a200d
rgalanakis commented
See this stackoverflow thread (and others): http://stackoverflow.com/questions/8774958/keyerror-in-module-threading-after-a-successful-py-test-run
Unfortunately, as goless doesn't even import the threading module directly, there's nothing at all we can do. If you can think of anything reasonable, please comment and I can reopen the issue.
(BTW, if it's not clear from that thread, the solution is to monkeypatch first. You should always monkeypatch first, before importing or doing anything.)