From 5d6b4683b7a4058b7f12dcc294eec5e2f41cda6f Mon Sep 17 00:00:00 2001 From: Martin Vilcans Date: Wed, 12 Feb 2020 23:17:19 +0100 Subject: Remove Python 2 support for doctests #54 --- bin/test | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'bin') 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 -- cgit