aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2020-02-12 23:17:19 +0100
committerMartin Vilcans <martin@librador.com>2020-02-12 23:17:19 +0100
commit5d6b4683b7a4058b7f12dcc294eec5e2f41cda6f (patch)
tree495181f42996931dbccabdfea25944b2f9d40bf8 /bin
parent1f2121726e709c8445ecd793eca89387d5b78145 (diff)
downloadscreenplain-5d6b4683b7a4058b7f12dcc294eec5e2f41cda6f.tar.gz
Remove Python 2 support for doctests #54
Diffstat (limited to 'bin')
-rwxr-xr-xbin/test11
1 files changed, 3 insertions, 8 deletions
diff --git a/bin/test b/bin/test
index 4ffcb17..5379c1b 100755
--- a/bin/test
+++ b/bin/test
@@ -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