Permalink
Browse files

Get rid of ANSI output from test/sh_spec_test.py

  • Loading branch information...
Andy Chu
Andy Chu committed Jul 10, 2018
1 parent b8a7955 commit 82581ee28b2b1fab637f2037c6bc5ffb2cfa0123
Showing with 5 additions and 1 deletion.
  1. +5 −1 test/sh_spec_test.py
View
@@ -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

Please sign in to comment.