Skip to content

Commit d9330e7

Browse files
committed
test: skip python
1 parent ef05ec4 commit d9330e7

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/TestPython.m

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
classdef TestPython < matlab.unittest.TestCase
22

33
methods (TestClassSetup)
4-
function check_python_available(tc)
5-
tc.assumeTrue(stdlib.has_python(), "Python is not available, skipping tests")
6-
end
7-
84
function pkg_path(tc)
95
p = matlab.unittest.fixtures.PathFixture(fileparts(fileparts(mfilename('fullpath'))));
106
tc.applyFixture(p)
@@ -15,6 +11,8 @@ function pkg_path(tc)
1511
methods (Test, TestTags = "python")
1612

1713
function test_is_char_device(tc)
14+
is_capable(tc, @stdlib.python.is_char_device)
15+
1816
% /dev/stdin may not be available on CI systems
1917
if ispc
2018
n = "NUL";

0 commit comments

Comments
 (0)