Skip to content

Commit de9567a

Browse files
henryiiilayday
andauthored
Update tests/conftest.py
Co-authored-by: layday <layday@protonmail.com>
1 parent 1c46f20 commit de9567a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/conftest.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@
1818

1919
import build.env
2020

21-
if sys.version_info < (3, 11):
22-
import tomli as tomllib
23-
else:
24-
import tomllib
21+
from build._compat import tomllib
2522

2623

2724
def pytest_addoption(parser):

0 commit comments

Comments
 (0)