You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
document how to run tests locally without coverage and CI tools #385
changed the title [-]document how to run tests locally with coverage and CI tools[/-][+]document how to run tests locally without coverage and CI tools[/+]on Feb 16, 2017
Strange that run_tests didn't work though. I thought I had updated it to run pytest as well. Though from the looks of the error its a PY2/PY3 compatibility issue wrt relative/absolute imports.
If you remove the import and the call to input it should work.
Activity
[-]document how to run tests locally with coverage and CI tools[/-][+]document how to run tests locally without coverage and CI tools[/+]vmuriart commentedon Feb 16, 2017
run
pytestvmuriart commentedon Feb 16, 2017
or
python -m pytestden-run-ai commentedon Feb 16, 2017
nice format from pytest:
den-run-ai commentedon Feb 16, 2017
ok, I documented here:
https://github.com/pythonnet/pythonnet/wiki/Troubleshooting-on-Windows-and-Linux
vmuriart commentedon Feb 16, 2017
Strange that
run_testsdidn't work though. I thought I had updated it to runpytestas well. Though from the looks of the error its a PY2/PY3 compatibility issue wrt relative/absolute imports.If you remove the
importand the call toinputit should work.