GLOB sdist-make: /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/setup.py py36 create: /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/.tox/py36 py36 installdeps: pytest==5.2.4, pytest_cov py36 inst: /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/.tox/.tmp/package/1/pytest-env-info-0.3.0.zip py36 installed: atomicwrites==1.3.0,attrs==19.3.0,coverage==4.5.4,importlib-metadata==1.1.0,more-itertools==8.0.0,packaging==19.2,pluggy==0.13.1,py==1.8.0,pyparsing==2.4.5,pytest==5.2.4,pytest-cov==2.8.1,pytest-env-info==0.3.0,six==1.13.0,wcwidth==0.1.7,zipp==0.6.0 py36 run-test-pre: PYTHONHASHSEED='3860315285' py36 run-test: commands[0] | py.test --cov=pytest_env_info --cov-report=term-missing --cov-branch tests ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-5.2.4, py-1.8.0, pluggy-0.13.1 cachedir: .tox/py36/.pytest_cache rootdir: /tmp/tmp17i9xl9b/pytest-env-info-0.3.0 plugins: cov-2.8.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.6.7, pytest-5.2.4, py-1.8.0, pluggy-0.13.1 -- /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/.tox/py36/bin/python' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /tmp/pytest-of-travis/pytest-1/test_pytestver0' E and: 'plugins: cov-2.8.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.11s ===============================' E and: '' E remains unmatched: '*::test_sth PASSED' /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/tests/test_pytest_env_info.py:24: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-5.2.4, py-1.8.0, pluggy-0.13.1 -- /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/.tox/py36/bin/python cachedir: .pytest_cache rootdir: /tmp/pytest-of-travis/pytest-1/test_pytestver0 plugins: cov-2.8.1, env-info-0.3.0 collecting ... collected 1 item test_pytestver.py::test_sth PASSED [100%] ============================== 1 passed in 0.11s =============================== __________________________________ 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.6.7, pytest-5.2.4, py-1.8.0, pluggy-0.13.1 -- /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/.tox/py36/bin/python' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /tmp/pytest-of-travis/pytest-1/test_pyver0' E and: 'plugins: cov-2.8.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.11s ===============================' E and: '' E remains unmatched: '*::test_sth PASSED' /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/tests/test_pytest_env_info.py:48: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-5.2.4, py-1.8.0, pluggy-0.13.1 -- /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/.tox/py36/bin/python cachedir: .pytest_cache rootdir: /tmp/pytest-of-travis/pytest-1/test_pyver0 plugins: cov-2.8.1, env-info-0.3.0 collecting ... collected 1 item test_pyver.py::test_sth PASSED [100%] ============================== 1 passed in 0.11s =============================== ________________________________ 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.6.7, pytest-5.2.4, py-1.8.0, pluggy-0.13.1 -- /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/.tox/py36/bin/python' E and: 'cachedir: .pytest_cache' E and: 'rootdir: /tmp/pytest-of-travis/pytest-1/test_pymajver0' E and: 'plugins: cov-2.8.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.11s ===============================' E and: '' E remains unmatched: '*::test_sth PASSED' /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/tests/test_pytest_env_info.py:72: Failed ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-5.2.4, py-1.8.0, pluggy-0.13.1 -- /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/.tox/py36/bin/python cachedir: .pytest_cache rootdir: /tmp/pytest-of-travis/pytest-1/test_pymajver0 plugins: cov-2.8.1, env-info-0.3.0 collecting ... collected 1 item test_pymajver.py::test_sth PASSED [100%] ============================== 1 passed in 0.11s =============================== ----------- coverage: platform linux, python 3.6.7-final-0 ----------- Name Stmts Miss Branch BrPart Cover Missing ------------------------------------------------------------------------------------------------------ .tox/py36/lib/python3.6/site-packages/pytest_env_info.py 31 12 12 4 63% 5-14, 47, 60, 65, 70, 75, 59->60, 64->65, 69->70, 74->75 ============================== 3 failed in 4.06s =============================== ERROR: InvocationError for command /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/.tox/py36/bin/py.test --cov=pytest_env_info --cov-report=term-missing --cov-branch tests (exited with code 1) ___________________________________ summary ____________________________________ ERROR: py36: commands failed write json report at: /tmp/tmp17i9xl9b/pytest-env-info-0.3.0/result.json Time: 64.4 seconds