Skip to content

Commit 9f72c2d

Browse files
author
Vladimir Kotal
committed
tidy the condition
1 parent dc93e09 commit 9f72c2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-tools/src/test/python/test_command_sequence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def test_cleanup_exception():
134134
# /bin/cat returns 2 on Solaris
135135
@pytest.mark.skipif(not os.path.exists('/usr/bin/touch') or
136136
not os.path.exists('/bin/cat') or
137-
not sys.platform != "sunos5",
137+
sys.platform == "sunos5",
138138
reason="requires Unix")
139139
def test_cleanup():
140140
with tempfile.TemporaryDirectory() as tmpdir:

0 commit comments

Comments
 (0)