diff --git a/skimage/feature/tests/test_brief.py b/skimage/feature/tests/test_brief.py index 3d126770..b78270f7 100644 --- a/skimage/feature/tests/test_brief.py +++ b/skimage/feature/tests/test_brief.py @@ -76,3 +76,8 @@ def test_match_keypoints_brief_lena_rotation(): [435, 221]]]) assert_array_equal(matched_keypoints, expected) + + +if __name__ == '__main__': + from numpy import testing + testing.run_module_suite() diff --git a/skimage/feature/tests/test_util.py b/skimage/feature/tests/test_util.py index 6e2215c5..6e25f51a 100644 --- a/skimage/feature/tests/test_util.py +++ b/skimage/feature/tests/test_util.py @@ -25,3 +25,8 @@ def test_pairwise_hamming_distance_value(): [0.4 , 0.55, 0.5 ], [0.47, 0.48, 0.57]]) assert_array_equal(result, expected) + + +if __name__ == '__main__': + from numpy import testing + testing.run_module_suite()