Skip to content

Commit

Permalink
test: remove obsolete Python 2 test
Browse files Browse the repository at this point in the history
  • Loading branch information
h4l committed Sep 8, 2022
1 parent c8f6563 commit f4fa27b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/test_docopt.py
Original file line number Diff line number Diff line change
Expand Up @@ -649,13 +649,6 @@ def test_issue_40(capsys: pytest.CaptureFixture):
}


def test_issue34_unicode_strings():
try:
assert docopt(eval("u'usage: prog [-o <a>]'"), "") == {"-o": False, "<a>": 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}
Expand Down

0 comments on commit f4fa27b

Please sign in to comment.