From 3a8af7d691e28ad4052a68fb2c490d3532fa4735 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Mon, 30 Jun 2014 16:03:07 +0400 Subject: [PATCH] fix python tests --- modules/python/test/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/python/test/test.py b/modules/python/test/test.py index 10f32260b..212fdbcd9 100755 --- a/modules/python/test/test.py +++ b/modules/python/test/test.py @@ -73,7 +73,7 @@ class OpenCVTests(unittest.TestCase): def get_sample(self, filename, iscolor = cv.CV_LOAD_IMAGE_COLOR): if not filename in self.image_cache: - filedata = urllib.urlopen("https://raw.github.com/Itseez/opencv/master/" + filename).read() + filedata = urllib.urlopen("https://raw.github.com/Itseez/opencv/2.4/" + filename).read() imagefiledata = cv.CreateMatHeader(1, len(filedata), cv.CV_8UC1) cv.SetData(imagefiledata, filedata, len(filedata)) self.image_cache[filename] = cv.DecodeImageM(imagefiledata, iscolor)