note
szabgab
You would not call test functions by yourself, the system would do. In this specific case you'd use [metamod://File::Spec] anyway.
<p>
What is interesting in this case might be how to skip tests. I think the usual SKIP would work <b>inside</b> the test functions, but there might be some way to mark test functions to be skipped conditionally. Pytest uses "decorators" for this.
<code>
@pytest.mark.skipif(sys.platform != 'darwin', reason="Mac tests")
def test_func():
...
</code>
11129160
11129212