Skip to content

Commit 09a11ee

Browse files
committed
removed unused fixture from conftest.py
1 parent 9046255 commit 09a11ee

1 file changed

Lines changed: 0 additions & 17 deletions

File tree

tests/conftest.py

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import importlib.resources
2-
import json
32
import logging
43
import sys
54
from functools import lru_cache
6-
from pathlib import Path
75

86
import pytest
97
import six
@@ -86,21 +84,6 @@ def pyobjcryst_available():
8684
return has_pyobjcryst()
8785

8886

89-
@pytest.fixture(scope="session")
90-
def user_filesystem(tmp_path):
91-
base_dir = Path(tmp_path)
92-
home_dir = base_dir / "home_dir"
93-
home_dir.mkdir(parents=True, exist_ok=True)
94-
cwd_dir = base_dir / "cwd_dir"
95-
cwd_dir.mkdir(parents=True, exist_ok=True)
96-
97-
home_config_data = {"username": "home_username", "email": "home@email.com"}
98-
with open(home_dir / "diffpyconfig.json", "w") as f:
99-
json.dump(home_config_data, f)
100-
101-
yield tmp_path
102-
103-
10487
@pytest.fixture(scope="session")
10588
def datafile():
10689
"""Fixture to load a test data file from the testdata package directory."""

0 commit comments

Comments
 (0)