aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMartin Vilcans <martin@librador.com>2020-02-12 23:24:23 +0100
committerMartin Vilcans <martin@librador.com>2020-02-12 23:24:23 +0100
commit7c786ef7d69c9b364214e10490183bc207c24e5a (patch)
tree29131ddf119dfa2a7ae96447ff2f3e27a6d94536 /bin
parent1f2121726e709c8445ecd793eca89387d5b78145 (diff)
parenteb73207913915be7131256a1ed80d2402ecf6ad6 (diff)
downloadscreenplain-7c786ef7d69c9b364214e10490183bc207c24e5a.tar.gz
Merge branch 'remove-py2'
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