aboutsummaryrefslogtreecommitdiff
path: root/tests/test_core.py
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2014-06-05 16:38:19 +0300
committerJukka Jylänki <jujjyl@gmail.com>2014-06-05 16:38:19 +0300
commit3331e3e1130635f7d8ec3af45ae903198013af02 (patch)
tree2a1a0a7f0a64cb28862bb2976fb178b51dabe31f /tests/test_core.py
parent7da4dc2f2978579bad0a34d0d9a7215bf6e5e2d2 (diff)
Fix test_fwrite_0 syntax error in s_ modes after previous change.
Diffstat (limited to 'tests/test_core.py')
-rw-r--r--tests/test_core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_core.py b/tests/test_core.py
index 9541db36..5c395cbf 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -4080,7 +4080,7 @@ def process(filename):
test_path = path_from_root('tests', 'core', 'test_fwrite_0')
src, output = (test_path + s for s in ('.in', '.out'))
- orig_args = self.emcc_args
+ orig_args = self.emcc_args if self.emcc_args else []
for mode in [[], ['-s', 'MEMFS_APPEND_TO_TYPED_ARRAYS=1']]:
self.emcc_args = orig_args + mode
self.do_run_from_file(src, output)