Skip to content

Commit 14b16f6

Browse files
committed
Fix a typo in the module name
Also fix a typo in the test for check for such typos. =)
1 parent 39816c9 commit 14b16f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libmodernize/fixes/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
'libmodernize.fixes.fix_basestring',
3232
'libmodernize.fixes.fix_dict_six',
3333
'libmodernize.fixes.fix_filter',
34-
'libermodernize.fixes.fix_imports_six',
34+
'libmodernize.fixes.fix_imports_six',
3535
'libmodernize.fixes.fix_input_six',
3636
'libmodernize.fixes.fix_map',
3737
'libmodernize.fixes.fix_metaclass',

tests/test_fixes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def check_existence(prefix, module_names):
1313
dotted_prefix = prefix + '.'
1414
for module_name in module_names:
1515
if not module_name.startswith(dotted_prefix):
16-
msg = '{0!r} does not start with {1!r}'.format(module_name, lib2to3_prefix)
16+
msg = '{0!r} does not start with {1!r}'.format(module_name, prefix)
1717
raise AssertionError(msg)
1818
try:
1919
__import__(module_name)

0 commit comments

Comments
 (0)