Skip to content

Commit 2c84cbe

Browse files
committed
compat
1 parent 30d6cdf commit 2c84cbe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pint/compat.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -243,9 +243,9 @@ class BehaviorChangeWarning(UserWarning):
243243
try:
244244
import tomli_w # noqa: F401
245245

246-
HAS_TOMLLI_W = True
246+
HAS_TOMLI_W = True
247247
except ImportError:
248-
HAS_TOMLLI_W = False
248+
HAS_TOMLI_W = False
249249

250250
if sys.version_info >= (3, 11):
251251
import tomllib # noqa
@@ -267,10 +267,10 @@ class BehaviorChangeWarning(UserWarning):
267267
else:
268268
tomllib = None
269269

270-
if HAS_TOMLLI_W:
270+
if HAS_TOMLI_W:
271271
import tomli_w # noqa: F401
272272
else:
273-
tomllib_w = None
273+
tomli_w = None
274274

275275

276276
if HAS_BABEL:

0 commit comments

Comments
 (0)