From e28840854f229027a3b0c26d0788fc69f0528391 Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Mon, 12 Aug 2024 15:13:36 +0200 Subject: [PATCH] Apply ruff/flake8-pytest-style rule PT014 PT014 Duplicate of test case in `@pytest_mark.parametrize` --- fsspec/tests/test_utils.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/fsspec/tests/test_utils.py b/fsspec/tests/test_utils.py index b9167b5d2..1eeee912b 100644 --- a/fsspec/tests/test_utils.py +++ b/fsspec/tests/test_utils.py @@ -261,7 +261,6 @@ def test_common_prefix(paths, out): ( (["/path1"], "/path2", False, ["/path2"]), (["/path1"], "/path2", True, ["/path2/path1"]), - (["/path1"], "/path2", False, ["/path2"]), (["/path1"], "/path2/", True, ["/path2/path1"]), (["/path1"], ["/path2"], False, ["/path2"]), (["/path1"], ["/path2"], True, ["/path2"]), @@ -279,18 +278,6 @@ def test_common_prefix(paths, out): True, ["/path2/more/path1", "/path2/more/path2"], ), - ( - ["/more/path1", "/more/path2"], - "/path2", - False, - ["/path2/path1", "/path2/path2"], - ), - ( - ["/more/path1", "/more/path2"], - "/path2", - True, - ["/path2/more/path1", "/path2/more/path2"], - ), ( ["/more/path1", "/more/path2"], "/path2/",