Skip to content

Commit 8481346

Browse files
committed
test: skip tests that require Java if not JVM
1 parent 3e06374 commit 8481346

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/TestSys.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ function test_platform(tc)
3232
end
3333

3434
function test_is_parallel(tc)
35+
import matlab.unittest.constraints.IsOfClass
3536
tc.assumeTrue(stdlib.has_java)
3637
tc.verifyThat(stdlib.is_parallel_worker, IsOfClass('logical'))
3738
end

0 commit comments

Comments
 (0)