浏览代码

performance: change platform check fixture scope to session (#1569)

mat-mil 1 年之前
父节点
当前提交
ebf6c7e35c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/conftest.py

+ 1 - 1
tests/conftest.py

@@ -23,7 +23,7 @@ def app() -> App:
     return App()
 
 
-@pytest.fixture(scope="function")
+@pytest.fixture(scope="session")
 def windows_platform() -> Generator:
     """Check if system is windows.