Skip to content
Prev Previous commit
Next Next commit
Remove commented out test code
  • Loading branch information
hukkin committed Feb 9, 2022
commit ab5e488799dd1734baa03332e4788a92c2c3530d
6 changes: 2 additions & 4 deletions Lib/test/test_tomllib/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ def __init__(self, path: Path):
DATA_DIR = Path(__file__).parent / "data"

VALID_FILES = tuple((DATA_DIR / "valid").glob("**/*.toml"))
# VALID_FILES_EXPECTED = tuple(
# json.loads(p.with_suffix(".json").read_bytes().decode()) for p in VALID_FILES
# )

_expected_files = []
for p in VALID_FILES:
json_path = p.with_suffix(".json")
Expand All @@ -28,8 +26,8 @@ def __init__(self, path: Path):
except FileNotFoundError:
text = MissingFile(json_path)
_expected_files.append(text)

VALID_FILES_EXPECTED = tuple(_expected_files)

INVALID_FILES = tuple((DATA_DIR / "invalid").glob("**/*.toml"))


Expand Down