GLOB sdist-make: /tmp/tmpem5tjc7u/pytest-neo-0.2.1/setup.py py36 create: /tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36 py36 installdeps: codecov>=1.4.0, pytest-cov py36 inst: /tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/.tmp/package/1/pytest-neo-0.2.1.zip py36 installed: attrs==20.1.0,certifi==2020.6.20,chardet==3.0.4,codecov==2.1.9,coverage==5.2.1,idna==2.10,importlib-metadata==1.7.0,iniconfig==1.0.1,more-itertools==8.5.0,packaging==20.4,pluggy==0.13.1,py==1.9.0,pyparsing==2.4.7,pytest==6.0.1,pytest-cov==2.10.1,pytest-neo @ file:///tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/.tmp/package/1/pytest-neo-0.2.1.zip,requests==2.24.0,six==1.15.0,toml==0.10.1,urllib3==1.25.10,zipp==3.1.0 py36 run-test-pre: PYTHONHASHSEED='29486103' py36 run-test: commands[0] | py.test --cov --cov-config=.coveragerc test_neo.py ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 cachedir: .tox/py36/.pytest_cache rootdir: /tmp/tmpem5tjc7u/pytest-neo-0.2.1 plugins: cov-2.10.1, neo-0.2.1 collected 25 items test_neo.py F..F..F..F..F..F..F..F..s..F..F..F..F..F..F..F..F..F..F..F..F. [ 84%] s.s..F.s. [100%] =================================== FAILURES =================================== ____________________ TestTerminalReporter.test_new_summary _____________________ self = testdir = def test_new_summary(self, testdir): testdir.makepyfile( """ import pytest def test_sample(): assert False """ ) output = testdir.runpytest( '--force-neo' ).stdout.str() > assert 'test_new_summary.py:4: AssertionError' in output E assert 'test_new_summary.py:4: AssertionError' in "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================ no tests ran in 0.08s =============================" /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:72: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_new_summary0 plugins: neo-0.2.1, cov-2.10.1 collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.08s ============================= _____________________ TestTerminalReporter.test_xfail_true _____________________ self = testdir = def test_xfail_true(self, testdir): testdir.makepyfile( """ import pytest @pytest.mark.xfail def test_sample(): assert True """ ) > assert_count(testdir) /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:84: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testdir = args = () without_plugin = '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt... [100%]\n\n============================== 1 xpassed in 0.09s ==============================' with_plugin = "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================ no tests ran in 0.12s =============================" count_without = {'deselected': 'n/a', 'error': 'n/a', 'failed': 'n/a', 'passed': 'n/a', ...} def assert_count(testdir, *args): """Assert that n passed, n failed, ... matches""" without_plugin = testdir.runpytest('-p', 'no:neo', *args).stdout.str() with_plugin = testdir.runpytest('--force-neo', *args).stdout.str() count_without = get_counts(without_plugin) count_with = get_counts(with_plugin) > assert count_without == count_with, ( "When running test with and without plugin, " "the resulting output differs.\n\n" "Without plugin: %s\n" "With plugin: %s\n" % ( ", ".join('%s %s' % (v, k) for k, v in count_without.items()), ", ".join('%s %s' % (v, k) for k, v in count_with.items()), ) ) E AssertionError: When running test with and without plugin, the resulting output differs. E E Without plugin: n/a passed, 1 xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E With plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E E assert {'deselected'...': 'n/a', ...} == {'deselected'...': 'n/a', ...} E Omitting 7 identical items, use -vv to show E Differing items: E {'xpassed': '1'} != {'xpassed': 'n/a'} E Use -v to get the full diff /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:48: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_xfail_true0 plugins: cov-2.10.1 collected 1 item test_xfail_true.py X [100%] ============================== 1 xpassed in 0.09s ============================== ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_xfail_true0 plugins: neo-0.2.1, cov-2.10.1 collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.12s ============================= ____________________ TestTerminalReporter.test_xfail_false _____________________ self = testdir = def test_xfail_false(self, testdir): testdir.makepyfile( """ import pytest @pytest.mark.xfail def test_sample(): assert False """ ) > assert_count(testdir) /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:96: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testdir = args = () without_plugin = '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt... [100%]\n\n============================== 1 xfailed in 0.13s ==============================' with_plugin = "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================ no tests ran in 0.09s =============================" count_without = {'deselected': 'n/a', 'error': 'n/a', 'failed': 'n/a', 'passed': 'n/a', ...} def assert_count(testdir, *args): """Assert that n passed, n failed, ... matches""" without_plugin = testdir.runpytest('-p', 'no:neo', *args).stdout.str() with_plugin = testdir.runpytest('--force-neo', *args).stdout.str() count_without = get_counts(without_plugin) count_with = get_counts(with_plugin) > assert count_without == count_with, ( "When running test with and without plugin, " "the resulting output differs.\n\n" "Without plugin: %s\n" "With plugin: %s\n" % ( ", ".join('%s %s' % (v, k) for k, v in count_without.items()), ", ".join('%s %s' % (v, k) for k, v in count_with.items()), ) ) E AssertionError: When running test with and without plugin, the resulting output differs. E E Without plugin: n/a passed, n/a xpassed, n/a failed, 1 xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E With plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E E assert {'deselected'...': 'n/a', ...} == {'deselected'...': 'n/a', ...} E Omitting 7 identical items, use -vv to show E Differing items: E {'xfailed': '1'} != {'xfailed': 'n/a'} E Use -v to get the full diff /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:48: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_xfail_false0 plugins: cov-2.10.1 collected 1 item test_xfail_false.py x [100%] ============================== 1 xfailed in 0.13s ============================== ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_xfail_false0 plugins: neo-0.2.1, cov-2.10.1 collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.09s ============================= ___________________ TestTerminalReporter.test_report_header ____________________ self = testdir = def test_report_header(self, testdir): testdir.makeconftest( """ def pytest_report_header(startdir): pass """ ) testdir.makepyfile( """ def test(): pass """ ) result = testdir.runpytest('--force-neo') > assert result.ret == 0, result.stderr.str() E AssertionError: E assert == 0 E + where = .ret /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:112: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_report_header0 plugins: neo-0.2.1, cov-2.10.1 collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.09s ============================= _________________ TestTerminalReporter.test_xfail_strict_true __________________ self = testdir = def test_xfail_strict_true(self, testdir): testdir.makepyfile( """ import pytest @pytest.mark.xfail(strict=True) def test_sample(): assert True """ ) > assert_count(testdir) /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:124: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testdir = args = () without_plugin = '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...st_xfail_strict_true.py::test_sample\n============================== 1 failed in 0.09s ===============================' with_plugin = "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================ no tests ran in 0.07s =============================" count_without = {'deselected': 'n/a', 'error': 'n/a', 'failed': '1', 'passed': 'n/a', ...} def assert_count(testdir, *args): """Assert that n passed, n failed, ... matches""" without_plugin = testdir.runpytest('-p', 'no:neo', *args).stdout.str() with_plugin = testdir.runpytest('--force-neo', *args).stdout.str() count_without = get_counts(without_plugin) count_with = get_counts(with_plugin) > assert count_without == count_with, ( "When running test with and without plugin, " "the resulting output differs.\n\n" "Without plugin: %s\n" "With plugin: %s\n" % ( ", ".join('%s %s' % (v, k) for k, v in count_without.items()), ", ".join('%s %s' % (v, k) for k, v in count_with.items()), ) ) E AssertionError: When running test with and without plugin, the resulting output differs. E E Without plugin: n/a passed, n/a xpassed, 1 failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E With plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E E assert {'deselected'...': 'n/a', ...} == {'deselected'...': 'n/a', ...} E Omitting 7 identical items, use -vv to show E Differing items: E {'failed': '1'} != {'failed': 'n/a'} E Use -v to get the full diff /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:48: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_xfail_strict_true0 plugins: cov-2.10.1 collected 1 item test_xfail_strict_true.py F [100%] =================================== FAILURES =================================== _________________________________ test_sample __________________________________ [XPASS(strict)] =========================== short test summary info ============================ FAILED test_xfail_strict_true.py::test_sample ============================== 1 failed in 0.09s =============================== ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_xfail_strict_true0 plugins: neo-0.2.1, cov-2.10.1 collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.07s ============================= _________________ TestTerminalReporter.test_xfail_strict_false _________________ self = testdir = def test_xfail_strict_false(self, testdir): testdir.makepyfile( """ import pytest @pytest.mark.xfail(strict=True) def test_sample(): assert False """ ) > assert_count(testdir) /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:136: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testdir = args = () without_plugin = '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt... [100%]\n\n============================== 1 xfailed in 0.10s ==============================' with_plugin = "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================ no tests ran in 0.09s =============================" count_without = {'deselected': 'n/a', 'error': 'n/a', 'failed': 'n/a', 'passed': 'n/a', ...} def assert_count(testdir, *args): """Assert that n passed, n failed, ... matches""" without_plugin = testdir.runpytest('-p', 'no:neo', *args).stdout.str() with_plugin = testdir.runpytest('--force-neo', *args).stdout.str() count_without = get_counts(without_plugin) count_with = get_counts(with_plugin) > assert count_without == count_with, ( "When running test with and without plugin, " "the resulting output differs.\n\n" "Without plugin: %s\n" "With plugin: %s\n" % ( ", ".join('%s %s' % (v, k) for k, v in count_without.items()), ", ".join('%s %s' % (v, k) for k, v in count_with.items()), ) ) E AssertionError: When running test with and without plugin, the resulting output differs. E E Without plugin: n/a passed, n/a xpassed, n/a failed, 1 xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E With plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E E assert {'deselected'...': 'n/a', ...} == {'deselected'...': 'n/a', ...} E Omitting 7 identical items, use -vv to show E Differing items: E {'xfailed': '1'} != {'xfailed': 'n/a'} E Use -v to get the full diff /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:48: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_xfail_strict_false0 plugins: cov-2.10.1 collected 1 item test_xfail_strict_false.py x [100%] ============================== 1 xfailed in 0.10s ============================== ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_xfail_strict_false0 plugins: neo-0.2.1, cov-2.10.1 collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.09s ============================= _____________________ TestTerminalReporter.test_xpass_true _____________________ self = testdir = def test_xpass_true(self, testdir): testdir.makepyfile( """ import pytest @pytest.mark.xpass def test_sample(): assert True """ ) > assert_count(testdir) /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:148: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testdir = args = () without_plugin = '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...s.pytest.org/en/stable/warnings.html\n========================= 1 passed, 1 warning in 0.09s =========================' with_plugin = "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================== 1 warning in 0.08s ==============================" count_without = {'deselected': 'n/a', 'error': 'n/a', 'failed': 'n/a', 'passed': '1', ...} def assert_count(testdir, *args): """Assert that n passed, n failed, ... matches""" without_plugin = testdir.runpytest('-p', 'no:neo', *args).stdout.str() with_plugin = testdir.runpytest('--force-neo', *args).stdout.str() count_without = get_counts(without_plugin) count_with = get_counts(with_plugin) > assert count_without == count_with, ( "When running test with and without plugin, " "the resulting output differs.\n\n" "Without plugin: %s\n" "With plugin: %s\n" % ( ", ".join('%s %s' % (v, k) for k, v in count_without.items()), ", ".join('%s %s' % (v, k) for k, v in count_with.items()), ) ) E AssertionError: When running test with and without plugin, the resulting output differs. E E Without plugin: 1 passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E With plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E E assert {'deselected'...ed': '1', ...} == {'deselected'...': 'n/a', ...} E Omitting 7 identical items, use -vv to show E Differing items: E {'passed': '1'} != {'passed': 'n/a'} E Use -v to get the full diff /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:48: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_xpass_true0 plugins: cov-2.10.1 collected 1 item test_xpass_true.py . [100%] =============================== warnings summary =============================== test_xpass_true.py:3 /tmp/pytest-of-travis/pytest-36/test_xpass_true0/test_xpass_true.py:3: PytestUnknownMarkWarning: Unknown pytest.mark.xpass - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html @pytest.mark.xpass -- Docs: https://docs.pytest.org/en/stable/warnings.html ========================= 1 passed, 1 warning in 0.09s ========================= ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_xpass_true0 plugins: neo-0.2.1, cov-2.10.1 collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================== 1 warning in 0.08s ============================== ____________________ TestTerminalReporter.test_xpass_false _____________________ self = testdir = def test_xpass_false(self, testdir): testdir.makepyfile( """ import pytest @pytest.mark.xpass def test_sample(): assert False """ ) > assert_count(testdir) /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:160: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testdir = args = () without_plugin = '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...false.py::test_sample - assert False\n========================= 1 failed, 1 warning in 0.13s =========================' with_plugin = "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================== 1 warning in 0.09s ==============================" count_without = {'deselected': 'n/a', 'error': 'n/a', 'failed': '1', 'passed': 'n/a', ...} def assert_count(testdir, *args): """Assert that n passed, n failed, ... matches""" without_plugin = testdir.runpytest('-p', 'no:neo', *args).stdout.str() with_plugin = testdir.runpytest('--force-neo', *args).stdout.str() count_without = get_counts(without_plugin) count_with = get_counts(with_plugin) > assert count_without == count_with, ( "When running test with and without plugin, " "the resulting output differs.\n\n" "Without plugin: %s\n" "With plugin: %s\n" % ( ", ".join('%s %s' % (v, k) for k, v in count_without.items()), ", ".join('%s %s' % (v, k) for k, v in count_with.items()), ) ) E AssertionError: When running test with and without plugin, the resulting output differs. E E Without plugin: n/a passed, n/a xpassed, 1 failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E With plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E E assert {'deselected'...': 'n/a', ...} == {'deselected'...': 'n/a', ...} E Omitting 7 identical items, use -vv to show E Differing items: E {'failed': '1'} != {'failed': 'n/a'} E Use -v to get the full diff /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:48: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_xpass_false0 plugins: cov-2.10.1 collected 1 item test_xpass_false.py F [100%] =================================== FAILURES =================================== _________________________________ test_sample __________________________________ @pytest.mark.xpass def test_sample(): > assert False E assert False test_xpass_false.py:5: AssertionError =============================== warnings summary =============================== test_xpass_false.py:3 /tmp/pytest-of-travis/pytest-36/test_xpass_false0/test_xpass_false.py:3: PytestUnknownMarkWarning: Unknown pytest.mark.xpass - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html @pytest.mark.xpass -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED test_xpass_false.py::test_sample - assert False ========================= 1 failed, 1 warning in 0.13s ========================= ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_xpass_false0 plugins: neo-0.2.1, cov-2.10.1 collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================== 1 warning in 0.09s ============================== ____________________ TestTerminalReporter.test_xpass_strict ____________________ self = testdir = def test_xpass_strict(self, testdir): testdir.makepyfile( """ import pytest @pytest.mark.xfail(strict=True) def test_xpass(): assert True """ ) result = testdir.runpytest('--force-neo') result.stdout.fnmatch_lines([ '*test_xpass*', '*XPASS(strict)*', > '*1 failed*', ]) E Failed: nomatch: '*test_xpass*' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1' E fnmatch: '*test_xpass*' E with: 'rootdir: /tmp/pytest-of-travis/pytest-36/test_xpass_strict0' E nomatch: '*XPASS(strict)*' E and: 'plugins: neo-0.2.1, cov-2.10.1' E and: 'collected 1 item' E and: 'INTERNALERROR> Traceback (most recent call last):' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session' E and: 'INTERNALERROR> session.exitstatus = doit(config, session) or 0' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main' E and: 'INTERNALERROR> config.hook.pytest_collection(session=session)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' E and: 'INTERNALERROR> result = func()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in ' E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in ' E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' E and: 'INTERNALERROR> res = hook_impl.function(*args)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection' E and: 'INTERNALERROR> session.perform_collect()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect' E and: 'INTERNALERROR> session=self, config=self.config, items=items' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' E and: 'INTERNALERROR> result = func()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in ' E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in ' E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' E and: 'INTERNALERROR> res = hook_impl.function(*args)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems' E and: 'INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems()' E and: "INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems'" E and: '' E and: '============================ no tests ran in 0.10s =============================' E remains unmatched: '*XPASS(strict)*' /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:193: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_xpass_strict0 plugins: neo-0.2.1, cov-2.10.1 collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.10s ============================= __________________ TestTerminalReporter.test_teardown_errors ___________________ self = testdir = def test_teardown_errors(self, testdir): testdir.makepyfile( """ import pytest @pytest.yield_fixture def fixt(): yield raise Exception def test_foo(fixt): pass """ ) > assert_count(testdir) /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:209: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testdir = args = () without_plugin = '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...down_errors.py::test_foo - Exception\n========================== 1 passed, 1 error in 0.12s ==========================' with_plugin = "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================ no tests ran in 0.08s =============================" count_without = {'deselected': 'n/a', 'error': '1', 'failed': 'n/a', 'passed': '1', ...} def assert_count(testdir, *args): """Assert that n passed, n failed, ... matches""" without_plugin = testdir.runpytest('-p', 'no:neo', *args).stdout.str() with_plugin = testdir.runpytest('--force-neo', *args).stdout.str() count_without = get_counts(without_plugin) count_with = get_counts(with_plugin) > assert count_without == count_with, ( "When running test with and without plugin, " "the resulting output differs.\n\n" "Without plugin: %s\n" "With plugin: %s\n" % ( ", ".join('%s %s' % (v, k) for k, v in count_without.items()), ", ".join('%s %s' % (v, k) for k, v in count_with.items()), ) ) E AssertionError: When running test with and without plugin, the resulting output differs. E E Without plugin: 1 passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, 1 error, n/a rerun, n/a skipped E With plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E E assert {'deselected'...ed': '1', ...} == {'deselected'...': 'n/a', ...} E Omitting 6 identical items, use -vv to show E Differing items: E {'passed': '1'} != {'passed': 'n/a'} E {'error': '1'} != {'error': 'n/a'} E Use -v to get the full diff /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:48: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_teardown_errors0 plugins: cov-2.10.1 collected 1 item test_teardown_errors.py .E [100%] ==================================== ERRORS ==================================== ________________________ ERROR at teardown of test_foo _________________________ @pytest.yield_fixture def fixt(): yield > raise Exception E Exception test_teardown_errors.py:5: Exception =========================== short test summary info ============================ ERROR test_teardown_errors.py::test_foo - Exception ========================== 1 passed, 1 error in 0.12s ========================== ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_teardown_errors0 plugins: neo-0.2.1, cov-2.10.1 collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.08s ============================= ___________________ TestTerminalReporter.test_skipping_tests ___________________ self = testdir = def test_skipping_tests(self, testdir): testdir.makepyfile( """ import pytest @pytest.mark.skipif(True, reason='This must be skipped.') def test_skip_this_if(): assert True """ ) > assert_count(testdir) /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:225: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testdir = args = () without_plugin = '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt... [100%]\n\n============================== 1 skipped in 0.08s ==============================' with_plugin = "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================ no tests ran in 0.07s =============================" count_without = {'deselected': 'n/a', 'error': 'n/a', 'failed': 'n/a', 'passed': 'n/a', ...} def assert_count(testdir, *args): """Assert that n passed, n failed, ... matches""" without_plugin = testdir.runpytest('-p', 'no:neo', *args).stdout.str() with_plugin = testdir.runpytest('--force-neo', *args).stdout.str() count_without = get_counts(without_plugin) count_with = get_counts(with_plugin) > assert count_without == count_with, ( "When running test with and without plugin, " "the resulting output differs.\n\n" "Without plugin: %s\n" "With plugin: %s\n" % ( ", ".join('%s %s' % (v, k) for k, v in count_without.items()), ", ".join('%s %s' % (v, k) for k, v in count_with.items()), ) ) E AssertionError: When running test with and without plugin, the resulting output differs. E E Without plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, 1 skipped E With plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E E assert {'deselected'...': 'n/a', ...} == {'deselected'...': 'n/a', ...} E Omitting 7 identical items, use -vv to show E Differing items: E {'skipped': '1'} != {'skipped': 'n/a'} E Use -v to get the full diff /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:48: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_skipping_tests0 plugins: cov-2.10.1 collected 1 item test_skipping_tests.py s [100%] ============================== 1 skipped in 0.08s ============================== ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_skipping_tests0 plugins: neo-0.2.1, cov-2.10.1 collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.07s ============================= _________________ TestTerminalReporter.test_deselecting_tests __________________ self = testdir = def test_deselecting_tests(self, testdir): testdir.makepyfile( """ import pytest @pytest.mark.example def test_func(): assert True def test_should_be(): assert False """ ) > assert_count(testdir) /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:239: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testdir = args = () without_plugin = '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...ts.py::test_should_be - assert False\n==================== 1 failed, 1 passed, 1 warning in 0.17s ====================' with_plugin = "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================== 1 warning in 0.08s ==============================" count_without = {'deselected': 'n/a', 'error': 'n/a', 'failed': '1', 'passed': '1', ...} def assert_count(testdir, *args): """Assert that n passed, n failed, ... matches""" without_plugin = testdir.runpytest('-p', 'no:neo', *args).stdout.str() with_plugin = testdir.runpytest('--force-neo', *args).stdout.str() count_without = get_counts(without_plugin) count_with = get_counts(with_plugin) > assert count_without == count_with, ( "When running test with and without plugin, " "the resulting output differs.\n\n" "Without plugin: %s\n" "With plugin: %s\n" % ( ", ".join('%s %s' % (v, k) for k, v in count_without.items()), ", ".join('%s %s' % (v, k) for k, v in count_with.items()), ) ) E AssertionError: When running test with and without plugin, the resulting output differs. E E Without plugin: 1 passed, n/a xpassed, 1 failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E With plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E E assert {'deselected'...ed': '1', ...} == {'deselected'...': 'n/a', ...} E Omitting 6 identical items, use -vv to show E Differing items: E {'failed': '1'} != {'failed': 'n/a'} E {'passed': '1'} != {'passed': 'n/a'} E Use -v to get the full diff /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:48: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_deselecting_tests0 plugins: cov-2.10.1 collected 2 items test_deselecting_tests.py .F [100%] =================================== FAILURES =================================== ________________________________ test_should_be ________________________________ def test_should_be(): > assert False E assert False test_deselecting_tests.py:7: AssertionError =============================== warnings summary =============================== test_deselecting_tests.py:2 /tmp/pytest-of-travis/pytest-36/test_deselecting_tests0/test_deselecting_tests.py:2: PytestUnknownMarkWarning: Unknown pytest.mark.example - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html @pytest.mark.example -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED test_deselecting_tests.py::test_should_be - assert False ==================== 1 failed, 1 passed, 1 warning in 0.17s ==================== ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_deselecting_tests0 plugins: neo-0.2.1, cov-2.10.1 collected 2 items INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================== 1 warning in 0.08s ============================== ___ TestTerminalReporter.test_item_count_after_pytest_collection_modifyitems ___ self = testdir = def test_item_count_after_pytest_collection_modifyitems(self, testdir): testdir.makeconftest( """ import pytest @pytest.hookimpl(hookwrapper=True, tryfirst=True) def pytest_collection_modifyitems(config, items): yield items[:] = [x for x in items if x.name == 'test_one'] """ ) testdir.makepyfile( """ def test_one(): print('test_one_passed') def test_ignored(): assert 0 """ ) result = testdir.runpytest('-s') output = result.stdout.str() > assert 'test_one_passed' in output E assert 'test_one_passed' in "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================ no tests ran in 0.11s =============================" /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:263: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_item_count_after_pytest_collection_modifyitems0 plugins: neo-0.2.1, cov-2.10.1 collected 2 items INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.11s ============================= ________________________ TestTerminalReporter.test_fail ________________________ self = testdir = def test_fail(self, testdir): testdir.makepyfile( """ import pytest def test_func(): assert 0 """ ) result = testdir.runpytest('--force-neo') result.stdout.fnmatch_lines([ "* test_func *", " def test_func():", "> assert 0", > "E assert 0", ]) E Failed: nomatch: '* test_func *' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1' E and: 'rootdir: /tmp/pytest-of-travis/pytest-36/test_fail0' E and: 'plugins: neo-0.2.1, cov-2.10.1' E and: 'collected 1 item' E and: 'INTERNALERROR> Traceback (most recent call last):' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session' E and: 'INTERNALERROR> session.exitstatus = doit(config, session) or 0' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main' E and: 'INTERNALERROR> config.hook.pytest_collection(session=session)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' E and: 'INTERNALERROR> result = func()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in ' E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in ' E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' E and: 'INTERNALERROR> res = hook_impl.function(*args)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection' E and: 'INTERNALERROR> session.perform_collect()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect' E and: 'INTERNALERROR> session=self, config=self.config, items=items' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' E and: 'INTERNALERROR> result = func()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in ' E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in ' E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' E and: 'INTERNALERROR> res = hook_impl.function(*args)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems' E and: 'INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems()' E and: "INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems'" E and: '' E and: '============================ no tests ran in 0.09s =============================' E remains unmatched: '* test_func *' /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:279: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_fail0 plugins: neo-0.2.1, cov-2.10.1 collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.09s ============================= _______________ TestTerminalReporter.test_fail_unicode_crashline _______________ self = testdir = def test_fail_unicode_crashline(self, testdir): testdir.makepyfile( """ # -*- coding: utf-8 -*- import pytest def test_func(): assert b'hello' == b'Bj\\xc3\\xb6rk Gu\\xc3\\xb0mundsd' """ ) result = testdir.runpytest('--force-neo') result.stdout.fnmatch_lines([ "* test_func *", " def test_func():", "> assert * == *", > "E AssertionError: assert * == *", ]) E Failed: nomatch: '* test_func *' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1' E and: 'rootdir: /tmp/pytest-of-travis/pytest-36/test_fail_unicode_crashline0' E and: 'plugins: neo-0.2.1, cov-2.10.1' E and: 'collected 1 item' E and: 'INTERNALERROR> Traceback (most recent call last):' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session' E and: 'INTERNALERROR> session.exitstatus = doit(config, session) or 0' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main' E and: 'INTERNALERROR> config.hook.pytest_collection(session=session)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' E and: 'INTERNALERROR> result = func()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in ' E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in ' E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' E and: 'INTERNALERROR> res = hook_impl.function(*args)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection' E and: 'INTERNALERROR> session.perform_collect()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect' E and: 'INTERNALERROR> session=self, config=self.config, items=items' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' E and: 'INTERNALERROR> result = func()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in ' E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in ' E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' E and: 'INTERNALERROR> res = hook_impl.function(*args)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems' E and: 'INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems()' E and: "INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems'" E and: '' E and: '============================ no tests ran in 0.10s =============================' E remains unmatched: '* test_func *' /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:296: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_fail_unicode_crashline0 plugins: neo-0.2.1, cov-2.10.1 collected 1 item INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.10s ============================= ______________ TestTerminalReporter.test_fail_in_fixture_and_test ______________ self = testdir = def test_fail_in_fixture_and_test(self, testdir): testdir.makepyfile( """ import pytest def test_func(): assert False def test_func2(): assert False @pytest.fixture def failure(): return 3/0 def test_lol(failure): assert True """ ) > assert_count(testdir) /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:317: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testdir = args = () without_plugin = '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt..._lol - ZeroDivisionError: divisio...\n========================== 2 failed, 1 error in 0.21s ==========================' with_plugin = "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================ no tests ran in 0.10s =============================" count_without = {'deselected': 'n/a', 'error': '1', 'failed': '2', 'passed': 'n/a', ...} def assert_count(testdir, *args): """Assert that n passed, n failed, ... matches""" without_plugin = testdir.runpytest('-p', 'no:neo', *args).stdout.str() with_plugin = testdir.runpytest('--force-neo', *args).stdout.str() count_without = get_counts(without_plugin) count_with = get_counts(with_plugin) > assert count_without == count_with, ( "When running test with and without plugin, " "the resulting output differs.\n\n" "Without plugin: %s\n" "With plugin: %s\n" % ( ", ".join('%s %s' % (v, k) for k, v in count_without.items()), ", ".join('%s %s' % (v, k) for k, v in count_with.items()), ) ) E AssertionError: When running test with and without plugin, the resulting output differs. E E Without plugin: n/a passed, n/a xpassed, 2 failed, n/a xfailed, n/a deselected, 1 error, n/a rerun, n/a skipped E With plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E E assert {'deselected'...': 'n/a', ...} == {'deselected'...': 'n/a', ...} E Omitting 6 identical items, use -vv to show E Differing items: E {'failed': '2'} != {'failed': 'n/a'} E {'error': '1'} != {'error': 'n/a'} E Use -v to get the full diff /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:48: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_fail_in_fixture_and_test0 plugins: cov-2.10.1 collected 3 items test_fail_in_fixture_and_test.py FFE [100%] ==================================== ERRORS ==================================== __________________________ ERROR at setup of test_lol __________________________ @pytest.fixture def failure(): > return 3/0 E ZeroDivisionError: division by zero test_fail_in_fixture_and_test.py:10: ZeroDivisionError =================================== FAILURES =================================== __________________________________ test_func ___________________________________ def test_func(): > assert False E assert False test_fail_in_fixture_and_test.py:3: AssertionError __________________________________ test_func2 __________________________________ def test_func2(): > assert False E assert False test_fail_in_fixture_and_test.py:6: AssertionError =========================== short test summary info ============================ FAILED test_fail_in_fixture_and_test.py::test_func - assert False FAILED test_fail_in_fixture_and_test.py::test_func2 - assert False ERROR test_fail_in_fixture_and_test.py::test_lol - ZeroDivisionError: divisio... ========================== 2 failed, 1 error in 0.21s ========================== ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_fail_in_fixture_and_test0 plugins: neo-0.2.1, cov-2.10.1 collected 3 items INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.10s ============================= _____________________ TestTerminalReporter.test_fail_fail ______________________ self = testdir = def test_fail_fail(self, testdir): testdir.makepyfile( """ import pytest def test_func(): assert 0 def test_func2(): assert 0 """ ) > assert_count(testdir) /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:333: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testdir = args = () without_plugin = '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt..._fail_fail.py::test_func2 - assert 0\n============================== 2 failed in 0.15s ===============================' with_plugin = "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================ no tests ran in 0.08s =============================" count_without = {'deselected': 'n/a', 'error': 'n/a', 'failed': '2', 'passed': 'n/a', ...} def assert_count(testdir, *args): """Assert that n passed, n failed, ... matches""" without_plugin = testdir.runpytest('-p', 'no:neo', *args).stdout.str() with_plugin = testdir.runpytest('--force-neo', *args).stdout.str() count_without = get_counts(without_plugin) count_with = get_counts(with_plugin) > assert count_without == count_with, ( "When running test with and without plugin, " "the resulting output differs.\n\n" "Without plugin: %s\n" "With plugin: %s\n" % ( ", ".join('%s %s' % (v, k) for k, v in count_without.items()), ", ".join('%s %s' % (v, k) for k, v in count_with.items()), ) ) E AssertionError: When running test with and without plugin, the resulting output differs. E E Without plugin: n/a passed, n/a xpassed, 2 failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E With plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E E assert {'deselected'...': 'n/a', ...} == {'deselected'...': 'n/a', ...} E Omitting 7 identical items, use -vv to show E Differing items: E {'failed': '2'} != {'failed': 'n/a'} E Use -v to get the full diff /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:48: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_fail_fail0 plugins: cov-2.10.1 collected 2 items test_fail_fail.py FF [100%] =================================== FAILURES =================================== __________________________________ test_func ___________________________________ def test_func(): > assert 0 E assert 0 test_fail_fail.py:3: AssertionError __________________________________ test_func2 __________________________________ def test_func2(): > assert 0 E assert 0 test_fail_fail.py:5: AssertionError =========================== short test summary info ============================ FAILED test_fail_fail.py::test_func - assert 0 FAILED test_fail_fail.py::test_func2 - assert 0 ============================== 2 failed in 0.15s =============================== ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_fail_fail0 plugins: neo-0.2.1, cov-2.10.1 collected 2 items INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.08s ============================= ______________ TestTerminalReporter.test_error_in_setup_then_pass ______________ self = testdir = def test_error_in_setup_then_pass(self, testdir): testdir.makepyfile( """ def setup_function(function): print ("setup func") if function is test_nada: assert 0 def test_nada(): pass def test_zip(): pass """ ) > assert_count(testdir) /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:359: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testdir = args = () without_plugin = '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...p_then_pass.py::test_nada - assert 0\n========================== 1 passed, 1 error in 0.15s ==========================' with_plugin = "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================ no tests ran in 0.08s =============================" count_without = {'deselected': 'n/a', 'error': '1', 'failed': 'n/a', 'passed': '1', ...} def assert_count(testdir, *args): """Assert that n passed, n failed, ... matches""" without_plugin = testdir.runpytest('-p', 'no:neo', *args).stdout.str() with_plugin = testdir.runpytest('--force-neo', *args).stdout.str() count_without = get_counts(without_plugin) count_with = get_counts(with_plugin) > assert count_without == count_with, ( "When running test with and without plugin, " "the resulting output differs.\n\n" "Without plugin: %s\n" "With plugin: %s\n" % ( ", ".join('%s %s' % (v, k) for k, v in count_without.items()), ", ".join('%s %s' % (v, k) for k, v in count_with.items()), ) ) E AssertionError: When running test with and without plugin, the resulting output differs. E E Without plugin: 1 passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, 1 error, n/a rerun, n/a skipped E With plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E E assert {'deselected'...ed': '1', ...} == {'deselected'...': 'n/a', ...} E Omitting 6 identical items, use -vv to show E Differing items: E {'passed': '1'} != {'passed': 'n/a'} E {'error': '1'} != {'error': 'n/a'} E Use -v to get the full diff /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:48: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_error_in_setup_then_pass0 plugins: cov-2.10.1 collected 2 items test_error_in_setup_then_pass.py E. [100%] ==================================== ERRORS ==================================== _________________________ ERROR at setup of test_nada __________________________ function = def setup_function(function): print ("setup func") if function is test_nada: > assert 0 E assert 0 test_error_in_setup_then_pass.py:4: AssertionError ---------------------------- Captured stdout setup ----------------------------- setup func =========================== short test summary info ============================ ERROR test_error_in_setup_then_pass.py::test_nada - assert 0 ========================== 1 passed, 1 error in 0.15s ========================== ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_error_in_setup_then_pass0 plugins: neo-0.2.1, cov-2.10.1 collected 2 items INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.08s ============================= ____________ TestTerminalReporter.test_error_in_teardown_then_pass _____________ self = testdir = def test_error_in_teardown_then_pass(self, testdir): testdir.makepyfile( """ def teardown_function(function): print ("teardown func") if function is test_nada: assert 0 def test_nada(): pass def test_zip(): pass """ ) > assert_count(testdir) /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:391: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ testdir = args = () without_plugin = '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...n_then_pass.py::test_nada - assert 0\n========================== 2 passed, 1 error in 0.14s ==========================' with_plugin = "============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pyt...te 'pytest_collection_modifyitems'\n\n============================ no tests ran in 0.09s =============================" count_without = {'deselected': 'n/a', 'error': '1', 'failed': 'n/a', 'passed': '2', ...} def assert_count(testdir, *args): """Assert that n passed, n failed, ... matches""" without_plugin = testdir.runpytest('-p', 'no:neo', *args).stdout.str() with_plugin = testdir.runpytest('--force-neo', *args).stdout.str() count_without = get_counts(without_plugin) count_with = get_counts(with_plugin) > assert count_without == count_with, ( "When running test with and without plugin, " "the resulting output differs.\n\n" "Without plugin: %s\n" "With plugin: %s\n" % ( ", ".join('%s %s' % (v, k) for k, v in count_without.items()), ", ".join('%s %s' % (v, k) for k, v in count_with.items()), ) ) E AssertionError: When running test with and without plugin, the resulting output differs. E E Without plugin: 2 passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, 1 error, n/a rerun, n/a skipped E With plugin: n/a passed, n/a xpassed, n/a failed, n/a xfailed, n/a deselected, n/a error, n/a rerun, n/a skipped E E assert {'deselected'...ed': '2', ...} == {'deselected'...': 'n/a', ...} E Omitting 6 identical items, use -vv to show E Differing items: E {'passed': '2'} != {'passed': 'n/a'} E {'error': '1'} != {'error': 'n/a'} E Use -v to get the full diff /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:48: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_error_in_teardown_then_pass0 plugins: cov-2.10.1 collected 2 items test_error_in_teardown_then_pass.py .E. [100%] ==================================== ERRORS ==================================== ________________________ ERROR at teardown of test_nada ________________________ function = def teardown_function(function): print ("teardown func") if function is test_nada: > assert 0 E assert 0 test_error_in_teardown_then_pass.py:4: AssertionError --------------------------- Captured stdout teardown --------------------------- teardown func =========================== short test summary info ============================ ERROR test_error_in_teardown_then_pass.py::test_nada - assert 0 ========================== 2 passed, 1 error in 0.14s ========================== ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_error_in_teardown_then_pass0 plugins: neo-0.2.1, cov-2.10.1 collected 2 items INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' ============================ no tests ran in 0.09s ============================= ___________________ TestTerminalReporter.test_collect_error ____________________ self = testdir = def test_collect_error(self, testdir): testdir.makepyfile("""raise ValueError(0)""") assert_count(testdir) result = testdir.runpytest('--force-neo') result.stdout.fnmatch_lines([ "*ERROR collecting test_collect_error.py*", "test_collect_error.py:1: in ", " raise ValueError(0)", > "E ValueError: 0", ]) E Failed: nomatch: '*ERROR collecting test_collect_error.py*' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1' E and: 'rootdir: /tmp/pytest-of-travis/pytest-36/test_collect_error0' E and: 'plugins: neo-0.2.1, cov-2.10.1' E and: 'collected 0 items / 1 error' E and: 'INTERNALERROR> Traceback (most recent call last):' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session' E and: 'INTERNALERROR> session.exitstatus = doit(config, session) or 0' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main' E and: 'INTERNALERROR> config.hook.pytest_collection(session=session)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' E and: 'INTERNALERROR> result = func()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in ' E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in ' E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' E and: 'INTERNALERROR> res = hook_impl.function(*args)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection' E and: 'INTERNALERROR> session.perform_collect()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect' E and: 'INTERNALERROR> session=self, config=self.config, items=items' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' E and: 'INTERNALERROR> result = func()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in ' E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in ' E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' E and: 'INTERNALERROR> return outcome.get_result()' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' E and: 'INTERNALERROR> res = hook_impl.function(*args)' E and: 'INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems' E and: 'INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems()' E and: "INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems'" E and: '' E and: '=============================== 1 error in 0.09s ===============================' E remains unmatched: '*ERROR collecting test_collect_error.py*' /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:419: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_collect_error0 plugins: cov-2.10.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ____________________ ERROR collecting test_collect_error.py ____________________ test_collect_error.py:1: in raise ValueError(0) E ValueError: 0 =========================== short test summary info ============================ ERROR test_collect_error.py - ValueError: 0 !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! =============================== 1 error in 0.77s =============================== ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_collect_error0 plugins: neo-0.2.1, cov-2.10.1 collected 0 items / 1 error INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' =============================== 1 error in 0.07s =============================== ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-36/test_collect_error0 plugins: neo-0.2.1, cov-2.10.1 collected 0 items / 1 error INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 240, in wrap_session INTERNALERROR> session.exitstatus = doit(config, session) or 0 INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 295, in _main INTERNALERROR> config.hook.pytest_collection(session=session) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 306, in pytest_collection INTERNALERROR> session.perform_collect() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/_pytest/main.py", line 519, in perform_collect INTERNALERROR> session=self, config=self.config, items=items INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call INTERNALERROR> result = func() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 335, in INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py", line 87, in INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "/tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/lib/python3.6/site-packages/pytest_neo.py", line 263, in pytest_collection_modifyitems INTERNALERROR> super(NeoTerminalReporter, self).pytest_collection_modifyitems() INTERNALERROR> AttributeError: 'super' object has no attribute 'pytest_collection_modifyitems' =============================== 1 error in 0.09s =============================== ______________________ TestTerminalReporter.test_doctest _______________________ self = testdir = def test_doctest(self, testdir): """ Test doctest-modules """ testdir.makepyfile( """ class ToTest(object): @property def doctest(self): \"\"\" >>> Invalid doctest \"\"\" """ ) result = testdir.runpytest('--force-neo', '--doctest-module') > assert result.ret == 1, result.stderr.str() E AssertionError: ERROR: usage: py.test [options] [file_or_dir] [file_or_dir] [...] E py.test: error: unrecognized arguments: --doctest-module E inifile: None E rootdir: /tmp/pytest-of-travis/pytest-36/test_doctest0 E E assert == 1 E + where = .ret /tmp/tmpem5tjc7u/pytest-neo-0.2.1/test_neo.py:482: AssertionError ----------------------------- Captured stderr call ----------------------------- ERROR: usage: py.test [options] [file_or_dir] [file_or_dir] [...] py.test: error: unrecognized arguments: --doctest-module inifile: None rootdir: /tmp/pytest-of-travis/pytest-36/test_doctest0 ----------- coverage: platform linux, python 3.6.7-final-0 ----------- Name Stmts Miss Branch BrPart Cover ------------------------------------------------- pytest_neo.py 308 273 130 5 11% test_neo.py 131 28 6 0 80% ------------------------------------------------- TOTAL 439 301 136 5 28% =========================== short test summary info ============================ FAILED test_neo.py::TestTerminalReporter::test_new_summary - assert 'test_new... FAILED test_neo.py::TestTerminalReporter::test_xfail_true - AssertionError: W... FAILED test_neo.py::TestTerminalReporter::test_xfail_false - AssertionError: ... FAILED test_neo.py::TestTerminalReporter::test_report_header - AssertionError: FAILED test_neo.py::TestTerminalReporter::test_xfail_strict_true - AssertionE... FAILED test_neo.py::TestTerminalReporter::test_xfail_strict_false - Assertion... FAILED test_neo.py::TestTerminalReporter::test_xpass_true - AssertionError: W... FAILED test_neo.py::TestTerminalReporter::test_xpass_false - AssertionError: ... FAILED test_neo.py::TestTerminalReporter::test_xpass_strict - Failed: nomatch... FAILED test_neo.py::TestTerminalReporter::test_teardown_errors - AssertionErr... FAILED test_neo.py::TestTerminalReporter::test_skipping_tests - AssertionErro... FAILED test_neo.py::TestTerminalReporter::test_deselecting_tests - AssertionE... FAILED test_neo.py::TestTerminalReporter::test_item_count_after_pytest_collection_modifyitems FAILED test_neo.py::TestTerminalReporter::test_fail - Failed: nomatch: '* tes... FAILED test_neo.py::TestTerminalReporter::test_fail_unicode_crashline - Faile... FAILED test_neo.py::TestTerminalReporter::test_fail_in_fixture_and_test - Ass... FAILED test_neo.py::TestTerminalReporter::test_fail_fail - AssertionError: Wh... FAILED test_neo.py::TestTerminalReporter::test_error_in_setup_then_pass - Ass... FAILED test_neo.py::TestTerminalReporter::test_error_in_teardown_then_pass - ... FAILED test_neo.py::TestTerminalReporter::test_collect_error - Failed: nomatc... FAILED test_neo.py::TestTerminalReporter::test_doctest - AssertionError: ERRO... ================== 21 failed, 46 passed, 4 skipped in 27.19s =================== ERROR: InvocationError for command /tmp/tmpem5tjc7u/pytest-neo-0.2.1/.tox/py36/bin/py.test --cov --cov-config=.coveragerc test_neo.py (exited with code 1) ___________________________________ summary ____________________________________ ERROR: py36: commands failed write json report at: /tmp/tmpem5tjc7u/pytest-neo-0.2.1/result.json Time: 70.3 seconds