Closed cheelee closed 9 years ago
You're right, this output doesn't seem to affect the passing/failing of tests but something weird is definitely going on. Good catch @cheelee
@kevcmk's #216 seems to fix this (or at least not flood the output with this text). If we can get the test numbers to match up we could potentially close this one.
Yah, agreed. I've noted that all those post-test connection errors went away too. And I think that is because _DataTest isn't involved anymore.
The test numbers match up. py.test is correct and our old test.py ended up generating 77 duplicate tests, whilst missing 12 tests that py.test caught. This is good. Thanks for the great feedback @travs and the awesome job using py.test @kevcmk . I'm closing this issue, and I think we can make that pull request merge official.
@cheelee Awesome! Thanks for looking into this :)
I just noticed starting from Build #447 (https://travis-ci.org/openworm/PyOpenWorm/builds/70450878), we've had every test's atexit call fail as follows:
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/opt/python/2.7.9/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
File "./PyOpenWorm/init.py", line 114, in disconnect
AttributeError: 'module' object has no attribute 'connected'