summaryrefslogtreecommitdiff
path: root/scripts/tests/Slice/generation.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2016-12-08 13:21:49 +0100
committerBenoit Foucher <benoit@zeroc.com>2016-12-08 13:21:49 +0100
commit424b29b945df277ef25eba6a4182a3e550f38ab2 (patch)
treeffeb4b8a7f3b766bed46db032668ae141f088c33 /scripts/tests/Slice/generation.py
parentAdded missing Slice/__init__.py (diff)
downloadice-424b29b945df277ef25eba6a4182a3e550f38ab2.tar.bz2
ice-424b29b945df277ef25eba6a4182a3e550f38ab2.tar.xz
ice-424b29b945df277ef25eba6a4182a3e550f38ab2.zip
Fixed Slice/generation test failure
Diffstat (limited to 'scripts/tests/Slice/generation.py')
-rw-r--r--scripts/tests/Slice/generation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tests/Slice/generation.py b/scripts/tests/Slice/generation.py
index 4bf0b999cc6..528af0e9183 100644
--- a/scripts/tests/Slice/generation.py
+++ b/scripts/tests/Slice/generation.py
@@ -8,7 +8,7 @@ class SliceGenerationTestCase(ClientTestCase):
slice2java.run(current,
args=["--list-generated", "--output-dir", "classes", "File1.ice", "File2.ice"] +
- ["--compat"] if current.testcase.getPath().find("java-compat") >= 0 else [])
+ (["--compat"] if current.testcase.getPath().find("java-compat") >= 0 else []))
lines1 = slice2java.getOutput().strip().split("\n")
lines2 = open(os.path.join(self.getPath(), "list-generated.out"), "r").readlines()