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 authored and NickCrews committed Sep 9, 2022
1 parent 08471cd commit 296ca67
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 @@ -684,13 +684,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 296ca67

Please sign in to comment.