Skip to content

Commit

Permalink
fix: plain_tokenizer is currently named _plain_tokenizer
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrecco committed Feb 14, 2025
1 parent 1958fab commit 74b8a08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pint/testsuite/benchmarks/test_01_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

import pytest

from pint.pint_eval import plain_tokenizer, uncertainty_tokenizer
from pint.pint_eval import _plain_tokenizer as plain_tokenizer
from pint.pint_eval import uncertainty_tokenizer

VALUES = [
"1",
Expand Down
3 changes: 2 additions & 1 deletion pint/testsuite/test_pint_eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

import pytest

from pint.pint_eval import build_eval_tree, plain_tokenizer, uncertainty_tokenizer
from pint.pint_eval import _plain_tokenizer as plain_tokenizer
from pint.pint_eval import build_eval_tree, uncertainty_tokenizer
from pint.util import string_preprocessor

TOKENIZERS = (plain_tokenizer, uncertainty_tokenizer)
Expand Down

0 comments on commit 74b8a08

Please sign in to comment.