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 Aug 28, 2022
1 parent 7ef0d5b commit 93ea3f0
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 @@ -653,13 +653,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 93ea3f0

Please sign in to comment.