From 1f166bec4dda9334341eb59c2d59813a8e939dd3 Mon Sep 17 00:00:00 2001 From: Hal Blackburn Date: Sun, 28 Aug 2022 07:57:07 +0000 Subject: [PATCH] test: remove obsolete Python 2 test --- tests/test_docopt.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/test_docopt.py b/tests/test_docopt.py index ebf23cd..1379d34 100644 --- a/tests/test_docopt.py +++ b/tests/test_docopt.py @@ -653,13 +653,6 @@ def test_issue_40(capsys: pytest.CaptureFixture): } -def test_issue34_unicode_strings(): - try: - assert docopt(eval("u'usage: prog [-o ]'"), "") == {"-o": False, "": None} - except SyntaxError: - pass # Python 3 - - def test_count_multiple_flags(): assert docopt("usage: prog [-v]", "-v") == {"-v": True} assert docopt("usage: prog [-vv]", "") == {"-v": 0}