File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
# coding: utf-8
2
2
"""Fixer for __metaclass__ = X -> (six.with_metaclass(X)) methods.
3
3
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
6
6
a __metaclass__ and if we find one normalize the inherits to all be
7
7
an arglist.
8
8
25
25
# 2011, 2012, 2013 Python Software Foundation. All rights reserved.
26
26
27
27
# Author: Jack Diederich, Daniel Neuhäuser
28
+
28
29
from __future__ import absolute_import
29
30
30
31
# Local imports
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ def test_metaclass_no_base_parens():
74
74
def test_metaclass_single_base ():
75
75
check_on_input (* METACLASS_SINGLE_BASE )
76
76
77
- def test_metaclass_MANY_BASES ():
77
+ def test_metaclass_many_bases ():
78
78
check_on_input (* METACLASS_MANY_BASES )
79
79
80
80
def test_metaclass_one_liner ():
You can’t perform that action at this time.
0 commit comments