Skip to content

Commit 56bac60

Browse files
levsabluetech
andauthored
Update testing/test_parseopt.py
Co-authored-by: Ran Benita <[email protected]>
1 parent 0dd5431 commit 56bac60

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

testing/test_parseopt.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ def test_parse2(self, parser: parseopt.Parser) -> None:
125125
args = parser.parse([Path(".")])
126126
assert getattr(args, parseopt.FILE_OR_DIR)[0] == "."
127127

128+
# Warning ignore because of:
129+
# https://github.com/python/cpython/issues/85308
130+
# Can be removed once Python<3.12 support is dropped.
128131
@pytest.mark.filterwarnings("ignore:'encoding' argument not specified")
129132
def test_parse_from_file(self, parser: parseopt.Parser, tmp_path: Path) -> None:
130133
tests = [".", "some.py::Test::test_method[param0]", "other/test_file.py"]

0 commit comments

Comments
 (0)