Skip to content

Commit 3c2e2d0

Browse files
authored
Merge pull request #1978 from mgorny/toml-test
Remove obsolete `toml` import from the test suite
2 parents 3020e0b + 45d6abd commit 3c2e2d0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/unit/test_isort.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
import py
1515
import pytest
16-
import toml
1716

1817
import isort
1918
from isort import api, files, sections
@@ -2713,7 +2712,6 @@ def test_sections_parsed_correct(tmpdir) -> None:
27132712
assert isort.code(test_input, settings_path=str(tmpdir)) == correct_output
27142713

27152714

2716-
@pytest.mark.skipif(toml is None, reason="Requires toml package to be installed.")
27172715
def test_pyproject_conf_file(tmpdir) -> None:
27182716
"""Ensure that modules for custom sections parsed as list from config file and
27192717
isort result is correct

0 commit comments

Comments
 (0)