Skip to content

Commit

Permalink
Removed incorrect usage of assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew J. Sonne committed Jun 25, 2017
1 parent 66eee97 commit 16fce53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unittest/python/cli_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_parser_missing_req(self, missing_requirements, not_a_directory, missing

parser = BundlerArgumentParser()

with self.assertRaises(ArgumentError, parser):
with self.assertRaises(ArgumentError):
parser._parse_known_args([
'--directory', 'world',
], Namespace(requirements_name='requirements.txt'))
Expand All @@ -58,7 +58,7 @@ def test_parser_not_a_dir(self, missing_requirements, not_a_directory, missing_d

parser = BundlerArgumentParser()

with self.assertRaises(ArgumentError, parser):
with self.assertRaises(ArgumentError):
parser._parse_known_args([
'--directory', 'world',
], Namespace(requirements_name='requirements.txt'))
Expand Down

0 comments on commit 16fce53

Please sign in to comment.