aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJohn Peter Yamauchi <johnpeteryams@gmail.com>2019-02-19 22:03:50 -0600
committerJohn Peter Yamauchi <johnpeteryams@gmail.com>2019-02-19 22:03:50 -0600
commit16af7101e490ce86aef57f0ed0eb475741fa06a4 (patch)
tree07ab703d2e8cfcd47b055c46bf53a411fe01c526 /bin
parent9c2e3683e207e81cf88350fde2dfadcecd5cc914 (diff)
parentd9eb1a980798ff54ac9cd81ff1821f78aa57156b (diff)
downloadscreenplain-16af7101e490ce86aef57f0ed0eb475741fa06a4.tar.gz
Merge branch 'master' into python3
Diffstat (limited to 'bin')
-rwxr-xr-xbin/screenplain3
-rwxr-xr-xbin/test3
2 files changed, 2 insertions, 4 deletions
diff --git a/bin/screenplain b/bin/screenplain
index ad6a673..e28cb73 100755
--- a/bin/screenplain
+++ b/bin/screenplain
@@ -1,9 +1,6 @@
#!/usr/bin/env python
import sys
-from os.path import dirname, join, abspath, pardir
if __name__ == '__main__':
- p = abspath(join(dirname(__file__), pardir))
- sys.path.append(p)
from screenplain.main import main
main(sys.argv[1:])
diff --git a/bin/test b/bin/test
index da49a7e..0b7ce83 100755
--- a/bin/test
+++ b/bin/test
@@ -1,2 +1,3 @@
#!/bin/bash
-python test.py && pep8 screenplain tests
+nosetests --nocapture --with-doctest --doctest-tests -I ^test.py $* && \
+ pep8 --ignore=E402 screenplain tests