Skip to content

Commit 60b44c8

Browse files
committed
Snake case.
1 parent 6e79530 commit 60b44c8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pyflakes/test/test_imports.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1039,7 +1039,7 @@ def test_futureImportStar(self):
10391039
from __future__ import *
10401040
''', m.FutureFeatureNotDefined)
10411041

1042-
def test_ignoresTypingImports(self):
1042+
def test_ignores_typing_imports(self):
10431043
"""Ignores imports within 'if TYPE_CHECKING' checking normal code."""
10441044
self.flakes('''
10451045
from typing import TYPE_CHECKING
@@ -1048,7 +1048,7 @@ def test_ignoresTypingImports(self):
10481048
b()
10491049
''', m.UndefinedName)
10501050

1051-
def test_ignoresTypingClassDefinition(self):
1051+
def test_ignores_typing_class_definition(self):
10521052
"""Ignores definitions within 'if TYPE_CHECKING' checking normal code."""
10531053
self.flakes('''
10541054
from typing import TYPE_CHECKING
@@ -1059,7 +1059,7 @@ class T:
10591059
''', m.UndefinedName)
10601060

10611061
@skipIf(version_info < (3,), 'has type annotations')
1062-
def test_usesTypingImportsForAnnotations(self):
1062+
def test_uses_typing_imports_for_annotations(self):
10631063
"""Uses imports within 'if TYPE_CHECKING' checking annotations."""
10641064
self.flakes('''
10651065
from typing import TYPE_CHECKING
@@ -1069,7 +1069,6 @@ def f() -> "b":
10691069
pass
10701070
''')
10711071

1072-
10731072
class TestSpecialAll(TestCase):
10741073
"""
10751074
Tests for suppression of unused import warnings by C{__all__}.

0 commit comments

Comments
 (0)