Skip to content

Commit c5a52a3

Browse files
committed
Disable tests on incompatible Jython versions
1 parent a76b479 commit c5a52a3

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

atest/interpreter.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ def excludes(self):
6565
if self.is_jython:
6666
yield 'no-jython'
6767
yield 'require-lxml'
68+
if self.version_info[:3] == (2, 7, 0):
69+
yield 'no-jython-2.7.0'
70+
if self.version_info[:3] == (2, 7, 1):
71+
yield 'no-jython-2.7.1'
6872
else:
6973
yield 'require-jython'
7074
if self.is_ironpython:

atest/robot/parsing/non_ascii_spaces.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
*** Settings ***
22
Suite Setup Run Tests ${EMPTY} parsing/non_ascii_spaces.robot
3+
Force Tags no-jython-2.7.0 no-jython-2.7.1
34
Resource atest_resource.robot
45

56
*** Test Cases ***

atest/robot/standard_libraries/builtin/evaluate.robot

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Explicit modules
2828
Check Test Case ${TESTNAME}
2929

3030
Explicit modules are needed with nested modules
31+
[Tags] no-jython-2.7.1
3132
Check Test Case ${TESTNAME}
3233

3334
Explicit modules can override builtins

0 commit comments

Comments
 (0)