File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
from typing import TYPE_CHECKING
4
4
5
5
import pytest
6
- import tomli
7
6
8
7
from poetry .core .packages .dependency_group import MAIN_GROUP
9
8
from poetry .core .packages .dependency_group import DependencyGroup
10
9
11
10
from poetry .factory import Factory
11
+ from poetry .utils ._compat import tomllib
12
12
from tests .helpers import MOCK_DEFAULT_GIT_REVISION
13
13
from tests .helpers import get_package
14
14
@@ -2159,7 +2159,7 @@ def test_show_outdated_missing_directory_dependency(
2159
2159
repo : TestRepository ,
2160
2160
):
2161
2161
with (poetry .pyproject .file .path .parent / "poetry.lock" ).open (mode = "rb" ) as f :
2162
- data = tomli .load (f )
2162
+ data = tomllib .load (f )
2163
2163
poetry .locker .mock_lock_data (data )
2164
2164
2165
2165
poetry .package .add_dependency (
You can’t perform that action at this time.
0 commit comments