Skip to content

Commit

Permalink
test_help_arg: remove assert on 'optional arguments'
Browse files Browse the repository at this point in the history
In python-3.10 this renders as 'options:', rather than 'optinal
arguments:', breaking the test.
  • Loading branch information
mikelolasagasti committed Nov 12, 2021
1 parent 3dca782 commit 49d78bf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/functional/test_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ def test_help_arg(self):
)
self.assertIn("usage: bandit [-h]", output)
self.assertIn("positional arguments:", output)
self.assertIn("optional arguments:", output)
self.assertIn("tests were discovered and loaded:", output)

# test examples (use _test_example() to wrap in config location argument
Expand Down

0 comments on commit 49d78bf

Please sign in to comment.