Permalink
Browse files
Get rid of ANSI output from test/sh_spec_test.py
- Loading branch information...
Showing
with
5 additions
and
1 deletion.
-
+5
−1
test/sh_spec_test.py
|
|
@@ -96,7 +96,11 @@ def testCreateAssertions(self): |
|
|
def testRunCases(self):
|
|
|
shells = [('bash', '/bin/bash'), ('osh', 'bin/osh')]
|
|
|
env = {}
|
|
|
out = AnsiOutput(sys.stdout, False)
|
|
|
if 0:
|
|
|
out_f = sys.stdout
|
|
|
else:
|
|
|
out_f = cStringIO.StringIO()
|
|
|
out = AnsiOutput(out_f, False)
|
|
|
RunCases([CASE1], lambda i, case: True, shells, env, out)
|
|
|
|
|
|
|
|
|
|
0 comments on commit
82581ee