in reply to Re^7: Introspecting function signatures
in thread Introspecting function signatures
What is interesting in this case might be how to skip tests. I think the usual SKIP would work inside the test functions, but there might be some way to mark test functions to be skipped conditionally. Pytest uses "decorators" for this.
@pytest.mark.skipif(sys.platform != 'darwin', reason="Mac tests") def test_func(): ...
|
---|