From 042892f0d70e148f8bd1719a3fdb4dd19fc9f256 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Tue, 29 Jul 2014 12:27:31 +0400 Subject: [PATCH] hopefully fixed Python tests --- modules/python/test/test2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/python/test/test2.py b/modules/python/test/test2.py index 9d19dea9b7..9126160948 100644 --- a/modules/python/test/test2.py +++ b/modules/python/test/test2.py @@ -21,7 +21,7 @@ class NewOpenCVTests(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() self.image_cache[filename] = cv2.imdecode(np.fromstring(filedata, dtype=np.uint8), iscolor) return self.image_cache[filename]