Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhao062 authored and yuezhao@cs.toronto.edu committed Jun 5, 2018
1 parent a60c451 commit a1c9ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyod/test/test_utility.py
Expand Up @@ -101,7 +101,7 @@ def test_check_parameter_range(self):
check_parameter('f', 0, 100)

with assert_raises(TypeError):
check_parameter(argmaxn(value_list=[1, 2, 3], n=10), 0, 100)
check_parameter(argmaxn(value_list=[1, 2, 3], n=1), 0, 100)

# if low and high are both unset
with assert_raises(ValueError):
Expand Down

0 comments on commit a1c9ae6

Please sign in to comment.