Backport of setRNGSeed implementation and python test randomness fix

This commit is contained in:
Vitaly Tuzov committed 2016-03-29 18:05:28 +03:00
1 parent 12a8f5486d
commit 64f02aa72d
3 files changed
+9

No files matched your search

+1
View File
@@ -42,6 +42,7 @@ class NewOpenCVTests(unittest.TestCase):
return self.image_cache[filename]
def setUp(self):
cv2.setRNGSeed(10)
self.image_cache = {}
def hashimg(self, im):