On Sat, Sep 21, 2019 at 08:50:26PM +0200, Klemens Nanni wrote: > How did you get these results? > > $ export FLAVOR=python3 > $ make test > ... > Ran 296 tests in 4.156s > > FAILED (failures=1, errors=4) > Test failed: <unittest.runner.TextTestResult run=296 errors=4 > failures=1> > ... > > See my full ${WRKDIR}/test.log attached. > error: Test failed: <unittest.runner.TextTestResult run=296 errors=4 > failures=1> > /usr/local/lib/python3.7/asyncio/base_events.py:618: ResourceWarning: > unclosed event loop <_UnixSelectorEventLoop running=False closed=False > debug=False> > *** Error 1 in . (/usr/ports/lang/python/python.port.mk:239 'do-test': @cd > /usr/ports/pobj/py-urwid-2.0.1-python3/urwid-2.0.1 && /usr/bin/en...)
Hi Klemens, Kurt, Thanks for the feedback. I had a quick irc chat with Klemens who clarified a few things I was doing wrong in my testing. Thanks again for taking the time. Really appreciated. So here we go again: python3 => run=292 errors=0 failures=1 FAIL: test_run (urwid.tests.test_event_loops.AsyncioEventLoopTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/ports/pobj/py-urwid-2.0.1-python3/urwid-2.0.1/urwid/tests/test_event_loops.py", line 69, in test_run self.assertEqual(out, ["clean exit"]) AssertionError: Lists differ: ['clean exit', 'waiting'] != ['clean exit'] First list contains 1 additional elements. First extra element 1: 'waiting' - ['clean exit', 'waiting'] + ['clean exit'] ---------------------------------------------------------------------- Ran 292 tests in 2.898s FAILED (failures=1) Test failed: <unittest.runner.TextTestResult run=292 errors=0 failures=1> error: Test failed: <unittest.runner.TextTestResult run=292 errors=0 failures=1> python2 tests ALL OK. PS: I'll re-run tests on all recent ports I've submitted and update each email thread accordingly. Sorry about that. Cheers, -- clematis (0x7e96fd2400fe7b59)