Skip to content

Commit ab5e488

Browse files
committed
Remove commented out test code
1 parent 876a43c commit ab5e488

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Lib/test/test_tomllib/test_data.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ def __init__(self, path: Path):
1717
DATA_DIR = Path(__file__).parent / "data"
1818

1919
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-
# )
20+
2321
_expected_files = []
2422
for p in VALID_FILES:
2523
json_path = p.with_suffix(".json")
@@ -28,8 +26,8 @@ def __init__(self, path: Path):
2826
except FileNotFoundError:
2927
text = MissingFile(json_path)
3028
_expected_files.append(text)
31-
3229
VALID_FILES_EXPECTED = tuple(_expected_files)
30+
3331
INVALID_FILES = tuple((DATA_DIR / "invalid").glob("**/*.toml"))
3432

3533

0 commit comments

Comments
 (0)