Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete toml import from the test suite #1978

Merged
merged 1 commit into from Dec 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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