You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

conftest.py 306 B

123456789
  1. import pytest
  2. def pytest_addoption(parser: pytest.Parser) -> None:
  3. parser.addoption("--windows", action="store_true", default=False, help="Run tests for Windows")
  4. def pytest_configure(config: pytest.Config) -> None:
  5. config.addinivalue_line("markers", "windows: mark test as requiring Windows")