summaryrefslogtreecommitdiff
path: root/nose/util.py
diff options
context:
space:
mode:
authorEtienne Millon <me@emillon.org>2013-04-16 01:58:34 +0200
committerEtienne Millon <me@emillon.org>2013-04-16 01:58:34 +0200
commit6f29655c2beeb7c8634c62174450c03fe8b21f7a (patch)
treeece26578a49bd229010e986e4d14cce6582668cf /nose/util.py
parentd130b78af07a606628003bcb2931ed7f55dcb7d0 (diff)
downloadnose-6f29655c2beeb7c8634c62174450c03fe8b21f7a.tar.gz
Add missing format parameter in error message
Diffstat (limited to 'nose/util.py')
-rw-r--r--nose/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nose/util.py b/nose/util.py
index d31e265..039163a 100644
--- a/nose/util.py
+++ b/nose/util.py
@@ -364,7 +364,7 @@ def split_test_name(test):
# nonsense like foo:bar:baz
raise ValueError("Test name '%s' could not be parsed. Please "
"format test names as path:callable or "
- "module:callable.")
+ "module:callable." % (test,))
elif not tail:
# this is a case like 'foo:bar/'
# : must be part of the file path, so ignore it