mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-27 19:14:36 +08:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user