Skip to content

Commit

Permalink
Merge pull request #1978 from mgorny/toml-test
Browse files Browse the repository at this point in the history
Remove obsolete `toml` import from the test suite
  • Loading branch information
staticdev committed Dec 21, 2022
2 parents 3020e0b + 45d6abd commit 3c2e2d0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/unit/test_isort.py
Expand Up @@ -13,7 +13,6 @@

import py
import pytest
import toml

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


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

0 comments on commit 3c2e2d0

Please sign in to comment.