Skip to content

Commit 7808667

Browse files
committed
Shorten name of some test functions to make pylint happy
1 parent 574e00f commit 7808667

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/test_msgcheck.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def test_checks_noqa(self):
106106
# the file has 9 errors (`noqa` was skipped)
107107
self.assertEqual(len(result[0][1]), 9)
108108

109-
def test_replace_formatters_c(self):
109+
def test_replace_fmt_c(self):
110110
"""Test removal of formatters in a C string."""
111111
self.assertEqual(replace_formatters('%s', 'c'), '')
112112
self.assertEqual(replace_formatters('%%', 'c'), '%')
@@ -120,7 +120,7 @@ def test_replace_formatters_c(self):
120120
replace_formatters('%.3fTest%s%d%%%.03f%luhere% s', 'c'),
121121
'Test%here')
122122

123-
def test_replace_formatters_python(self):
123+
def test_replace_fmt_python(self):
124124
"""Test removal of formatters in a python string."""
125125
# str.__mod__()
126126
self.assertEqual(replace_formatters('%s', 'python'), '')
@@ -130,7 +130,7 @@ def test_replace_formatters_python(self):
130130
self.assertEqual(replace_formatters('%(sth)s', 'python'), '')
131131
self.assertEqual(replace_formatters('%(sth)02f', 'python'), '')
132132

133-
def test_replace_formatters_python_brace(self):
133+
def test_replace_fmt_python_brace(self):
134134
"""Test removal of formatters in a python brace string."""
135135
# str.format()
136136
conditions = (

0 commit comments

Comments
 (0)