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 1, 2022
1 parent c60cdf5 commit 9c0f189
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 @@ -654,13 +654,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 9c0f189

Please sign in to comment.