remove dead code

detected using https://github.com/asottile/dead
This commit is contained in:
Anthony Sottile 2021-11-14 08:36:02 -08:00
parent c9cac9957b
commit 0c62569c4f
7 changed files with 0 additions and 64 deletions

View file

@ -160,15 +160,6 @@ def test_normalize_paths(value, expected):
assert utils.normalize_paths(value) == expected
def test_is_windows_checks_for_nt():
"""Verify that we correctly detect Windows."""
with mock.patch.object(os, "name", "nt"):
assert utils.is_windows() is True
with mock.patch.object(os, "name", "posix"):
assert utils.is_windows() is False
@pytest.mark.parametrize(
"filename,patterns,expected",
[