From 97bb91d5fa0df316060deee77b4a1f31e99bfb42 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Sun, 27 Sep 2020 21:14:55 +0000 Subject: [PATCH] ml: fix python test --- modules/ml/misc/python/test/test_goodfeatures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ml/misc/python/test/test_goodfeatures.py b/modules/ml/misc/python/test/test_goodfeatures.py index 91fc885513..a590ba9fa9 100644 --- a/modules/ml/misc/python/test/test_goodfeatures.py +++ b/modules/ml/misc/python/test/test_goodfeatures.py @@ -11,7 +11,7 @@ from tests_common import NewOpenCVTests class TestGoodFeaturesToTrack_test(NewOpenCVTests): def test_goodFeaturesToTrack(self): arr = self.get_sample('samples/data/lena.jpg', 0) - original = arr.copy(True) + original = arr.copy() threshes = [ x / 100. for x in range(1,10) ] numPoints = 20000