File tree Expand file tree Collapse file tree 2 files changed +24
-12
lines changed Expand file tree Collapse file tree 2 files changed +24
-12
lines changed Original file line number Diff line number Diff line change 22
33methods (Test , TestTags = " mex" )
44
5- function test_is_char_device(tc )
6- % /dev/stdin may not be available on CI systems
7- if ispc
8- n = " NUL" ;
9- else
10- n = " /dev/null" ;
11- end
12-
13- tc .verifyTrue(stdlib .is_char_device(n ))
14- end
15-
16-
175function test_remove_file(tc )
186tc .assertTrue(stdlib .is_mex_fun(" stdlib.remove" ))
197
Original file line number Diff line number Diff line change 1+ classdef TestPython < matlab .unittest .TestCase
2+
3+ methods (TestClassSetup )
4+ function check_python_available(tc )
5+ tc .assumeTrue(stdlib .has_python(), " Python is not available, skipping tests" )
6+ end
7+ end
8+
9+ methods (Test , TestTags = " python" )
10+
11+ function test_is_char_device(tc )
12+ % /dev/stdin may not be available on CI systems
13+ if ispc
14+ n = " NUL" ;
15+ else
16+ n = " /dev/null" ;
17+ end
18+
19+ tc .verifyTrue(stdlib .is_char_device(n ))
20+ end
21+
22+ end
23+
24+ end
You can’t perform that action at this time.
0 commit comments