aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/runner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/runner.py b/tests/runner.py
index ced640df..d02ce36b 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -42,6 +42,7 @@ class RunnerCore(unittest.TestCase):
if not os.path.exists(dirname):
os.makedirs(dirname)
self.working_dir = dirname
+ os.chdir(dirname)
def tearDown(self):
if self.save_JS:
@@ -4456,7 +4457,7 @@ TT = %s
def test_eliminator(self):
input = open(path_from_root('tools', 'eliminator', 'eliminator-test.js')).read()
expected = open(path_from_root('tools', 'eliminator', 'eliminator-test-output.js')).read()
- output = Popen([COFFEESCRIPT, VARIABLE_ELIMINATOR], stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate(input)[0]
+ output = Popen([COFFEESCRIPT, VARIABLE_ELIMINATOR], stdin=PIPE, stdout=PIPE).communicate(input)[0]
self.assertIdentical(expected, output)
else: