Skip to content

Commit edd83f8

Browse files
committed
Cosmetics.
Signed-off-by: Daira Hopwood <[email protected]>
1 parent 5954a4a commit edd83f8

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

libmodernize/fixes/fix_metaclass.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# coding: utf-8
22
"""Fixer for __metaclass__ = X -> (six.with_metaclass(X)) methods.
33
4-
The various forms of classdef (inherits nothing, inherits once, inherints
5-
many) don't parse the same in the CST so we look at ALL classes for
4+
The various forms of classdef (inherits nothing, inherits once, inherits
5+
many) don't parse the same in the CST, so we look at ALL classes for
66
a __metaclass__ and if we find one normalize the inherits to all be
77
an arglist.
88
@@ -25,6 +25,7 @@
2525
# 2011, 2012, 2013 Python Software Foundation. All rights reserved.
2626

2727
# Author: Jack Diederich, Daniel Neuhäuser
28+
2829
from __future__ import absolute_import
2930

3031
# Local imports

tests/test_fix_metaclass.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def test_metaclass_no_base_parens():
7474
def test_metaclass_single_base():
7575
check_on_input(*METACLASS_SINGLE_BASE)
7676

77-
def test_metaclass_MANY_BASES():
77+
def test_metaclass_many_bases():
7878
check_on_input(*METACLASS_MANY_BASES)
7979

8080
def test_metaclass_one_liner():

0 commit comments

Comments
 (0)