We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f953612 commit 20bd208Copy full SHA for 20bd208
tests/console/commands/test_show.py
@@ -3,12 +3,12 @@
3
from typing import TYPE_CHECKING
4
5
import pytest
6
-import tomli
7
8
from poetry.core.packages.dependency_group import MAIN_GROUP
9
from poetry.core.packages.dependency_group import DependencyGroup
10
11
from poetry.factory import Factory
+from poetry.utils._compat import tomllib
12
from tests.helpers import MOCK_DEFAULT_GIT_REVISION
13
from tests.helpers import get_package
14
@@ -2159,7 +2159,7 @@ def test_show_outdated_missing_directory_dependency(
2159
repo: TestRepository,
2160
):
2161
with (poetry.pyproject.file.path.parent / "poetry.lock").open(mode="rb") as f:
2162
- data = tomli.load(f)
+ data = tomllib.load(f)
2163
poetry.locker.mock_lock_data(data)
2164
2165
poetry.package.add_dependency(
0 commit comments