mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-10 23:04:18 +00:00
parent
c9cac9957b
commit
0c62569c4f
7 changed files with 0 additions and 64 deletions
|
|
@ -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",
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue