Skip to content

Instantly share code, notes, and snippets.

@markuman
Created March 21, 2019 13:43
Show Gist options
  • Save markuman/299a0e88383b100ade9aaad8b8913956 to your computer and use it in GitHub Desktop.
Save markuman/299a0e88383b100ade9aaad8b8913956 to your computer and use it in GitHub Desktop.
$ make tests-py3
bin/ansible-test units -v --python 3.7
Unit test with Python 3.7
Run command: pytest --boxed -r a -n auto --color yes --junit-xml test/results/junit/python3.7-units.x ...
/home/m/git/upstream-ansible/markuman-ansible/test/runner/injector/pytest:4: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
ERROR: usage: pytest.py [options] [file_or_dir] [file_or_dir] [...]
pytest.py: error: unrecognized arguments: --boxed -n test/units/
inifile: /home/m/git/upstream-ansible/markuman-ansible/tox.ini
rootdir: /home/m/git/upstream-ansible/markuman-ansible
ERROR: Command "pytest --boxed -r a -n auto --color yes --junit-xml test/results/junit/python3.7-units.xml -v test/units/" returned exit status 4.
make: *** [Makefile:150: tests-py3] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment