diff --git a/bob/io/video/test_codec.py b/bob/io/video/test_codec.py index 6fc9b7249e1040a96a5eab3bcdf3c69ef3d5bc6d..9692314b80f0ce20908de4a1d7b9d7ab908a8495 100644 --- a/bob/io/video/test_codec.py +++ b/bob/io/video/test_codec.py @@ -15,6 +15,9 @@ from .utils import color_distortion, frameskip_detection, quality_degradation # These are some global parameters for the test. INPUT_VIDEO = test_utils.datafile('test.mov', __name__) +# Fix numpy random seed for tests, so they are repeatable +numpy.random.seed(0) + def check_format_codec(function, shape, framerate, format, codec, maxdist): length, height, width = shape