diff options
author | Martin Vilcans <martin@librador.com> | 2020-02-12 23:17:19 +0100 |
---|---|---|
committer | Martin Vilcans <martin@librador.com> | 2020-02-12 23:17:19 +0100 |
commit | 5d6b4683b7a4058b7f12dcc294eec5e2f41cda6f (patch) | |
tree | 495181f42996931dbccabdfea25944b2f9d40bf8 /bin | |
parent | 1f2121726e709c8445ecd793eca89387d5b78145 (diff) | |
download | screenplain-5d6b4683b7a4058b7f12dcc294eec5e2f41cda6f.tar.gz |
Remove Python 2 support for doctests #54
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/test | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -1,8 +1,3 @@ -#!/bin/bash -if [[ $(python -V 2>&1) =~ "Python 2" ]] -then - nosetests --nocapture --with-doctest --doctest-tests -I ^test.py $* && \ - pycodestyle --ignore=E402,W504 screenplain tests -else - python test.py && pycodestyle --ignore=E402,W504 screenplain tests -fi +#!/bin/bash -e +nosetests --nocapture --with-doctest --doctest-tests +pycodestyle --ignore=E402,W504 screenplain tests |