summaryrefslogtreecommitdiffhomepage
path: root/tasks.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2014-09-10 14:41:48 -0700
committerJeff Forcier <jeff@bitprophet.org>2014-09-10 14:42:21 -0700
commit8254f0162b54aff7c0aa4877ceb592bf19e4822b (patch)
tree11433758e98a50e37afcd2f36f87cfad5482ae3f /tasks.py
parent4aa798ef21dc643a271e4ff5581ddf7cbde4c144 (diff)
Force PTY in test runner so Python 3's buffering behavior isn't frustrating
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks.py b/tasks.py
index 94bf0aa2..cf43a5fd 100644
--- a/tasks.py
+++ b/tasks.py
@@ -28,7 +28,7 @@ www = Collection.from_module(_docs, name='www', config={
# Until we move to spec-based testing
@task
def test(ctx):
- ctx.run("python test.py --verbose")
+ ctx.run("python test.py --verbose", pty=True)
@task
def coverage(ctx):