Skip to content

Remove Python 3.5 & 3.6 compat code in tests #324

@bskinn

Description

@bskinn

sphobjinv/conftest.py

Lines 145 to 149 in ae11a0e

# The str() calls here are for Python 3.5 compat
shutil.copy(
str(res_path / f"{res_base}{ext}"),
str(tmp_path / f"{scr_base}{ext}"),
)

@pytest.mark.skipif(
sys.version_info < (3, 6),
reason="Some flake8 extensions require Python 3.6 or later",
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions