Skip to content

Commit

Permalink
Fix tokenizer merge error in pint/util.py
Browse files Browse the repository at this point in the history
When using pint_eval.tokenizer don't try to import tokenizer from pint.compat.

Signed-off-by: Michael Tiemann <[email protected]>
  • Loading branch information
MichaelTiemannOSC committed Jun 25, 2023
1 parent f577436 commit b810af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pint/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
)
from collections.abc import Hashable, Generator

from .compat import NUMERIC_TYPES, tokenizer, Self
from .compat import NUMERIC_TYPES, Self
from .errors import DefinitionSyntaxError
from .formatting import format_unit
from .pint_eval import build_eval_tree
Expand Down

0 comments on commit b810af6

Please sign in to comment.