Skip to content

Commit

Permalink
Merge pull request #1 from stuartarchibald/pr_4345_cont
Browse files Browse the repository at this point in the history
Fix test_function_incompatible_templates test
  • Loading branch information
asmeurer authored Aug 29, 2019
2 parents 20a833a + 5f40a65 commit fa17d7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions numba/tests/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ def func_stub2():
def ol():
pass

template1 = make_overload_template(func_stub, ol, {}, True)
template2 = make_overload_template(func_stub2, ol, {}, True)
template1 = make_overload_template(func_stub, ol, {}, True, 'never')
template2 = make_overload_template(func_stub2, ol, {}, True, 'never')

with self.assertRaises(ValueError) as raises:
types.Function((template1, template2))
Expand Down

0 comments on commit fa17d7c

Please sign in to comment.