GLOB sdist-make: /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/setup.py py38 create: /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/.tox/py38 py38 installdeps: pytest==6.0.1, pytest_cov py38 inst: /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/.tox/.tmp/package/1/pytest-env-info-0.3.0.zip py38 installed: attrs==20.1.0,coverage==5.2.1,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-env-info @ file:///tmp/tmprhq4wk8a/pytest-env-info-0.3.0/.tox/.tmp/package/1/pytest-env-info-0.3.0.zip,six==1.15.0,toml==0.10.1 py38 run-test-pre: PYTHONHASHSEED='2245107044' py38 run-test: commands[0] | py.test --cov=pytest_env_info --cov-report=term-missing --cov-branch tests ============================= test session starts ============================== platform linux -- Python 3.8.0, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 cachedir: .tox/py38/.pytest_cache rootdir: /tmp/tmprhq4wk8a/pytest-env-info-0.3.0 plugins: cov-2.10.1, env-info-0.3.0 collected 3 items tests/test_pytest_env_info.py FFF [100%] =================================== FAILURES =================================== ________________________________ test_pytestver ________________________________ testdir = def test_pytestver(testdir): """Make sure that our filter set the PYTEST_VER envvar.""" # create a temporary pytest test module testdir.makepyfile(""" def test_sth(): import os assert os.environ.get('PYTEST_VER') == '%s' """ % pytest.__version__) # run pytest with the following cmd args result = testdir.runpytest( '-v' ) # fnmatch_lines does an assertion internally > result.stdout.fnmatch_lines([ '*::test_sth PASSED', ]) E Failed: nomatch: '*::test_sth PASSED' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.8.0, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 -- /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/.tox/py38/bin/python' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /tmp/pytest-of-travis/pytest-16/test_pytestver0' E and: 'plugins: cov-2.10.1, env-info-0.3.0' E and: 'collecting ... collected 1 item' E and: '' E and: 'test_pytestver.py::test_sth PASSED [100%]' E and: '' E and: '============================== 1 passed in 0.09s ===============================' E remains unmatched: '*::test_sth PASSED' /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/tests/test_pytest_env_info.py:23: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.8.0, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 -- /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/.tox/py38/bin/python cachedir: .pytest_cache rootdir: /tmp/pytest-of-travis/pytest-16/test_pytestver0 plugins: cov-2.10.1, env-info-0.3.0 collecting ... collected 1 item test_pytestver.py::test_sth PASSED [100%] ============================== 1 passed in 0.09s =============================== __________________________________ test_pyver __________________________________ testdir = def test_pyver(testdir): """Make sure that our filter set the PYTEST_PYVER envvar.""" # create a temporary pytest test module testdir.makepyfile(""" def test_sth(): import os assert os.environ.get('PYTEST_PYVER') == '%s' """ % '.'.join(str(v) for v in sys.version_info[:3])) # run pytest with the following cmd args result = testdir.runpytest( '-v' ) # fnmatch_lines does an assertion internally > result.stdout.fnmatch_lines([ '*::test_sth PASSED', ]) E Failed: nomatch: '*::test_sth PASSED' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.8.0, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 -- /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/.tox/py38/bin/python' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /tmp/pytest-of-travis/pytest-16/test_pyver0' E and: 'plugins: cov-2.10.1, env-info-0.3.0' E and: 'collecting ... collected 1 item' E and: '' E and: 'test_pyver.py::test_sth PASSED [100%]' E and: '' E and: '============================== 1 passed in 0.06s ===============================' E remains unmatched: '*::test_sth PASSED' /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/tests/test_pytest_env_info.py:47: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.8.0, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 -- /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/.tox/py38/bin/python cachedir: .pytest_cache rootdir: /tmp/pytest-of-travis/pytest-16/test_pyver0 plugins: cov-2.10.1, env-info-0.3.0 collecting ... collected 1 item test_pyver.py::test_sth PASSED [100%] ============================== 1 passed in 0.06s =============================== ________________________________ test_pymajver _________________________________ testdir = def test_pymajver(testdir): """Make sure that our filter set the PYTEST_PYMAJVER envvar.""" # create a temporary pytest test module testdir.makepyfile(""" def test_sth(): import os assert os.environ.get('PYTEST_PYMAJVER') == '%s' """ % str(sys.version_info[0])) # run pytest with the following cmd args result = testdir.runpytest( '-v' ) # fnmatch_lines does an assertion internally > result.stdout.fnmatch_lines([ '*::test_sth PASSED', ]) E Failed: nomatch: '*::test_sth PASSED' E and: '============================= test session starts ==============================' E and: 'platform linux -- Python 3.8.0, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 -- /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/.tox/py38/bin/python' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /tmp/pytest-of-travis/pytest-16/test_pymajver0' E and: 'plugins: cov-2.10.1, env-info-0.3.0' E and: 'collecting ... collected 1 item' E and: '' E and: 'test_pymajver.py::test_sth PASSED [100%]' E and: '' E and: '============================== 1 passed in 0.09s ===============================' E remains unmatched: '*::test_sth PASSED' /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/tests/test_pytest_env_info.py:71: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.8.0, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 -- /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/.tox/py38/bin/python cachedir: .pytest_cache rootdir: /tmp/pytest-of-travis/pytest-16/test_pymajver0 plugins: cov-2.10.1, env-info-0.3.0 collecting ... collected 1 item test_pymajver.py::test_sth PASSED [100%] ============================== 1 passed in 0.09s =============================== ----------- coverage: platform linux, python 3.8.0-final-0 ----------- Name Stmts Miss Branch BrPart Cover Missing ------------------------------------------------------------------------------------------------------ .tox/py38/lib/python3.8/site-packages/pytest_env_info.py 33 14 12 4 60% 5-14, 18, 47-48, 59->60, 60, 64->65, 65, 69->70, 70, 74->75, 75 =========================== short test summary info ============================ FAILED tests/test_pytest_env_info.py::test_pytestver - Failed: nomatch: '*::t... FAILED tests/test_pytest_env_info.py::test_pyver - Failed: nomatch: '*::test_... FAILED tests/test_pytest_env_info.py::test_pymajver - Failed: nomatch: '*::te... ============================== 3 failed in 2.12s =============================== ERROR: InvocationError for command /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/.tox/py38/bin/py.test --cov=pytest_env_info --cov-report=term-missing --cov-branch tests (exited with code 1) ___________________________________ summary ____________________________________ ERROR: py38: commands failed write json report at: /tmp/tmprhq4wk8a/pytest-env-info-0.3.0/result.json Time: 39.0 seconds