Skip to content

Commit eaa5add

Browse files
committed
Update toml tests
1 parent 7c2a103 commit eaa5add

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ def _example(name):
4545

4646

4747
def get_tomltest_cases():
48-
dirs = sorted(os.listdir(TEST_DIR))
48+
dirs = sorted(
49+
f for f in os.listdir(TEST_DIR) if os.path.isdir(os.path.join(TEST_DIR, f))
50+
)
4951
assert dirs == ["invalid", "invalid-encoder", "valid"]
5052
rv = {}
5153
for d in dirs:

tests/toml-test

0 commit comments

Comments
 (0)