Commit 283e67d0 authored by André Anjos's avatar André Anjos 💬
Browse files

Also test if bob.io.base can load a video containing an unicode name

parent 1f33f936
Pipeline #11697 failed with stages
in 9 minutes and 59 seconds
......@@ -98,7 +98,6 @@ def test_video_reader_unicode():
assert 'ß' in UNICODE_VIDEO
assert 'ß' in iv.filename
def test_video_reader_str():
from . import reader
......@@ -132,6 +131,16 @@ def test_iteration():
for l, i in zip(objs, f):
assert numpy.allclose(l, i)
def test_base_load_on_unicode():
from . import reader
f = reader(UNICODE_VIDEO)
objs = load(UNICODE_VIDEO)
nose.tools.eq_(len(f), len(objs))
for l, i in zip(objs, f)[:5]:
assert numpy.allclose(l, i)
def test_indexing():
from . import reader
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment