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 91fc885513c1eea701a2efb95a579ccbdad13ffd..a590ba9fa9f98e8fbc5b4dba3c2567f97bb89290 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