Skip to content

Commit

Permalink
fixed initializing should_have_failed
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Feb 28, 2017
1 parent 4227c05 commit 4341dac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/t_ldap_schema_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def _run_split_tokens_tests(self, test_cases):
self.assertEqual(token_list, test_result)

def _run_failure_tests(self, test_cases):
should_have_failed = []
for test_value in test_cases:
should_have_failed = []
try:
_ = ldap.schema.split_tokens(test_value)
except ValueError:
Expand Down

0 comments on commit 4341dac

Please sign in to comment.