Skip to content

Commit

Permalink
fix import error really
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasertl committed Feb 15, 2025
1 parent f04d9c7 commit 479a1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devscripts/standalone/test-imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

try:
import tomllib
except ImportError: # pragma: py<3.11
except ModuleNotFoundError: # pragma: py<3.11
import tomli as tomllib # type: ignore[no-redef]

# Add source dir to path if not present. This happens at least when this script started in a Docker image.
Expand Down

0 comments on commit 479a1bf

Please sign in to comment.