mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 02:16:21 +00:00
fix: scope Syrupy diff patch to PyCharm
This commit is contained in:
1 parent
e03094f5bc
commit
0498de4a52
2 files changed
+5
-1
No files matched your search
@@ -32,6 +32,11 @@ logging.configure(level=PYTEST_LOG_LEVEL)
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def pytest_configure(config: pytest.Config) -> None:
|
||||
if os.getenv("PYCHARM_HOSTED") == "1":
|
||||
config.option.patch_pycharm_diff = True
|
||||
|
||||
|
||||
@pytest.fixture(scope="session")
|
||||
def resources_dir() -> Path:
|
||||
"""Path to the test resources directory."""
|
||||
|
||||
Reference in new issue
Block a user