MAINT: Change variable name in test transforms comprehension.

Using `n` conflicts with using `n` in an interactive debugger, like
pdb. Use `name` instead.
This commit is contained in:
Eddie Hebert
2014-03-26 13:54:59 -04:00
parent 95b379d567
commit 352c8a6a8a
+2 -2
View File
@@ -299,8 +299,8 @@ class TestTALIB(TestCase):
BLACKLIST = ['make_transform', 'BatchTransform',
# TODO: Figure out why MAVP generates a KeyError
'MAVP']
names = [n for n in dir(ta) if n[0].isupper()
and n not in BLACKLIST]
names = [name for name in dir(ta) if name[0].isupper()
and name not in BLACKLIST]
for name in names:
print(name)