We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 876a43c commit ab5e488Copy full SHA for ab5e488
Lib/test/test_tomllib/test_data.py
@@ -17,9 +17,7 @@ def __init__(self, path: Path):
17
DATA_DIR = Path(__file__).parent / "data"
18
19
VALID_FILES = tuple((DATA_DIR / "valid").glob("**/*.toml"))
20
-# VALID_FILES_EXPECTED = tuple(
21
-# json.loads(p.with_suffix(".json").read_bytes().decode()) for p in VALID_FILES
22
-# )
+
23
_expected_files = []
24
for p in VALID_FILES:
25
json_path = p.with_suffix(".json")
@@ -28,8 +26,8 @@ def __init__(self, path: Path):
28
26
except FileNotFoundError:
29
27
text = MissingFile(json_path)
30
_expected_files.append(text)
31
-
32
VALID_FILES_EXPECTED = tuple(_expected_files)
33
INVALID_FILES = tuple((DATA_DIR / "invalid").glob("**/*.toml"))
34
35
0 commit comments