Commit 2ce43c98 authored by Manuel Günther's avatar Manuel Günther
Browse files

Fixed #4

parent c8f84c29
......@@ -390,7 +390,7 @@ class MobioDatabaseTest(unittest.TestCase):
# read some annotation files and test it's content
dir = "/idiap/resource/database/mobio/IMAGE_ANNOTATIONS"
if not os.path.exists(dir):
raise SkipTest("The annotation directory '%d' is not available, annotations can't be tested.")
raise SkipTest("The annotation directory '%s' is not available, annotations can't be tested." % dir)
db = Database(annotation_directory = dir)
import random
files = random.sample(db.all_files(), 1000)
......
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