Skip to content

Commit

Permalink
fixed: added tomli as dev dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Casyfill committed Aug 13, 2024
1 parent 7689896 commit 960dd19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_version.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
try:
import toml
import tomllib
except ImportError:
import tomllib as toml
import tomli as tomllib
from pathlib import Path
import dfschema

Expand All @@ -17,7 +17,7 @@ def test_versions_are_in_sync():
print(f"{item} - {'dir' if item.is_dir() else 'file'}")
raise Exception(e)

pyproject = toml.loads(open(str(path)).read())
pyproject = tomllib.loads(open(str(path)).read())
pyproject_version = pyproject["tool"]["poetry"]["version"]

package_init_version = dfschema.__version__
Expand Down

0 comments on commit 960dd19

Please sign in to comment.