Skip to content

Commit 70987fb

Browse files
committed
TEST: Improve test naming for tracking down failures
1 parent 5e5ec22 commit 70987fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/tests/test_api_validators.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def meth(self):
1919
for imaker, params in self.obj_params():
2020
validator(self, imaker, params)
2121
meth.__name__ = 'test_' + name[len('validate_'):]
22-
meth.__doc__ = 'autogenerated test from ' + name
22+
meth.__doc__ = 'autogenerated test from {}.{}'.format(klass.__name__, name)
2323
return meth
2424
for name in dir(klass):
2525
if not name.startswith('validate_'):

0 commit comments

Comments
 (0)