From 296ca6792408e03d598b9a223cc4d3f7d8a8d18a 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 f2fb5fb..e1ecc13 100644 --- a/tests/test_docopt.py +++ b/tests/test_docopt.py @@ -684,13 +684,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}