A pytest takes a command line argument whose default value is OS dependant.
This works only on OS X where the value is file.dylib:
def pytest_addoption(parser):
parser.addoption('--filename', type=str, default='file.dylib')
On Windows this value should be file.dll, on Linux libfile.so.
Is there a way to make the default value work on all OSes?