Skip to content

Commit

Permalink
Compatibility mode workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
Manangka committed Apr 23, 2024
1 parent 061f422 commit c077ec0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions autotest/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import os
import platform
import sys
from pathlib import Path
from typing import Dict
Expand Down Expand Up @@ -129,3 +131,8 @@ def pytest_collection_modifyitems(config, items):
for item in items:
if "parallel" in item.keywords:
item.add_marker(skip_parallel)


def pytest_generate_tests(metafunc):
if platform.system() == "Windows":
os.environ['__COMPAT_LAYER'] = 'WIN8RTM'

0 comments on commit c077ec0

Please sign in to comment.