ml: fix python test
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Sun, 27 Sep 2020 21:14:55 +0000 (21:14 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Sun, 27 Sep 2020 21:14:55 +0000 (21:14 +0000)
modules/ml/misc/python/test/test_goodfeatures.py

index 91fc885..a590ba9 100644 (file)
@@ -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