test2.py: fail if a downloaded image can't be decoded
authorRoman Donchenko <roman.donchenko@itseez.com>
Thu, 17 Sep 2015 15:17:06 +0000 (18:17 +0300)
committerAlexander Smorkalov <alexander.smorkalov@itseez.com>
Mon, 26 Oct 2015 07:45:22 +0000 (10:45 +0300)
commit7d28541bbeed68647d0294a829f3d8dc9253cf2c
treed90d3b02e89c8a4ad1d9fb13981ef3b837e3004e
parente6f3f3c029bc7cc5e5fe1aad072f96d08a8ebba0
test2.py: fail if a downloaded image can't be decoded

(cherry picked from commit 56f17e4921a379317a0602d92d7ca3677cabe9d6)
modules/python/test/test2.py