Skip to content

Commit

Permalink
not reproducing tox-dev/tox#426 yet ...
Browse files Browse the repository at this point in the history
  • Loading branch information
obestwalter committed Dec 15, 2017
1 parent 982f18c commit 48b8620
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 37 deletions.
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
from setuptools import setup

setup(
name='testpackage',
version='0.1.0.dev0',
)
setup(name='tox-426')
3 changes: 3 additions & 0 deletions test_file.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
def test_crash():
print("whatever")
assert 0
20 changes: 4 additions & 16 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,6 @@
[tox]
skipsdist = True
envlist = usedevelop,skip_install,both
envlist = py27, py36, lint, pylint

[testenv:usedevelop]
skip_install = False
usedevelop = True
commands = pip freeze

[testenv:skip_install]
skip_install = True
usedevelop = False
commands = pip freeze

[testenv:both]
skip_install = True
usedevelop = True
commands = pip freeze
[testenv]
deps = pytest
commands = pytest
99 changes: 82 additions & 17 deletions tox.log
Original file line number Diff line number Diff line change
@@ -1,18 +1,83 @@
usedevelop develop-inst-nodeps: /home/oliver/work/tox/tox-reproducers
usedevelop installed: -e git+git@github.com:obestwalter/tox-reproducers.git@048f5f3e745214fdc1d49857ffec31ec20568156#egg=testpackage
usedevelop runtests: PYTHONHASHSEED='2874166107'
usedevelop runtests: commands[0] | pip freeze
-e git+git@github.com:obestwalter/tox-reproducers.git@048f5f3e745214fdc1d49857ffec31ec20568156#egg=testpackage
skip_install installed:
skip_install runtests: PYTHONHASHSEED='2874166107'
skip_install runtests: commands[0] | pip freeze
both develop-inst-nodeps: /home/oliver/work/tox/tox-reproducers
both installed: -e git+git@github.com:obestwalter/tox-reproducers.git@048f5f3e745214fdc1d49857ffec31ec20568156#egg=testpackage
both runtests: PYTHONHASHSEED='2874166107'
both runtests: commands[0] | pip freeze
-e git+git@github.com:obestwalter/tox-reproducers.git@048f5f3e745214fdc1d49857ffec31ec20568156#egg=testpackage
GLOB sdist-make: /home/oliver/work/tox/tox-reproducers/setup.py
py27 create: /home/oliver/work/tox/tox-reproducers/.tox/py27
py27 installdeps: pytest
py27 inst: /home/oliver/work/tox/tox-reproducers/.tox/dist/tox-426-0.0.0.zip
py27 installed: attrs==17.3.0,funcsigs==1.0.2,pluggy==0.6.0,py==1.5.2,pytest==3.3.1,six==1.11.0,tox-426==0.0.0
py27 runtests: PYTHONHASHSEED='4137737740'
py27 runtests: commands[0] | pytest
============================= test session starts ==============================
platform linux2 -- Python 2.7.14, pytest-3.3.1, py-1.5.2, pluggy-0.6.0
rootdir: /home/oliver/work/tox/tox-reproducers, inifile:
collected 1 item

test_file.py F [100%]

=================================== FAILURES ===================================
__________________________________ test_crash __________________________________

def test_crash():
print("whatever")
> assert 0
E assert 0

test_file.py:3: AssertionError
----------------------------- Captured stdout call -----------------------------
whatever
=========================== 1 failed in 0.02 seconds ===========================
ERROR: InvocationError: '/home/oliver/work/tox/tox-reproducers/.tox/py27/bin/pytest'
py36 create: /home/oliver/work/tox/tox-reproducers/.tox/py36
py36 installdeps: pytest
py36 inst: /home/oliver/work/tox/tox-reproducers/.tox/dist/tox-426-0.0.0.zip
py36 installed: attrs==17.3.0,pluggy==0.6.0,py==1.5.2,pytest==3.3.1,six==1.11.0,tox-426==0.0.0
py36 runtests: PYTHONHASHSEED='4137737740'
py36 runtests: commands[0] | pytest
============================= test session starts ==============================
platform linux -- Python 3.6.3, pytest-3.3.1, py-1.5.2, pluggy-0.6.0
rootdir: /home/oliver/work/tox/tox-reproducers, inifile:
collected 1 item

test_file.py F [100%]

=================================== FAILURES ===================================
__________________________________ test_crash __________________________________

def test_crash():
print("whatever")
> assert 0
E assert 0

test_file.py:3: AssertionError
----------------------------- Captured stdout call -----------------------------
whatever
=========================== 1 failed in 0.02 seconds ===========================
ERROR: InvocationError: '/home/oliver/work/tox/tox-reproducers/.tox/py36/bin/pytest'
lint create: /home/oliver/work/tox/tox-reproducers/.tox/lint
lint installdeps: pytest
lint inst: /home/oliver/work/tox/tox-reproducers/.tox/dist/tox-426-0.0.0.zip
lint installed: attrs==17.3.0,pluggy==0.6.0,py==1.5.2,pytest==3.3.1,six==1.11.0,tox-426==0.0.0
lint runtests: PYTHONHASHSEED='4137737740'
lint runtests: commands[0] | pytest
============================= test session starts ==============================
platform linux -- Python 3.6.3, pytest-3.3.1, py-1.5.2, pluggy-0.6.0
rootdir: /home/oliver/work/tox/tox-reproducers, inifile:
collected 1 item

test_file.py F [100%]

=================================== FAILURES ===================================
__________________________________ test_crash __________________________________

def test_crash():
print("whatever")
> assert 0
E assert 0

test_file.py:3: AssertionError
----------------------------- Captured stdout call -----------------------------
whatever
=========================== 1 failed in 0.02 seconds ===========================
ERROR: InvocationError: '/home/oliver/work/tox/tox-reproducers/.tox/lint/bin/pytest'
___________________________________ summary ____________________________________
usedevelop: commands succeeded
skip_install: commands succeeded
both: commands succeeded
congratulations :)
ERROR: py27: commands failed
ERROR: py36: commands failed
ERROR: lint: commands failed

0 comments on commit 48b8620

Please sign in to comment.