mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-16 00:59:52 +00:00
Fixed linting errors
This commit is contained in:
parent
3b16130500
commit
cc20e35058
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ def test_to_optparse():
|
||||||
|
|
||||||
@pytest.mark.parametrize('opttype,str_val,expected', [
|
@pytest.mark.parametrize('opttype,str_val,expected', [
|
||||||
('float', '2', 2.0),
|
('float', '2', 2.0),
|
||||||
('complex', '2', (2+0j)),
|
('complex', '2', (2 + 0j)),
|
||||||
])
|
])
|
||||||
def test_to_support_optparses_standard_types(opttype, str_val, expected):
|
def test_to_support_optparses_standard_types(opttype, str_val, expected):
|
||||||
"""Show that optparse converts float and complex types correctly."""
|
"""Show that optparse converts float and complex types correctly."""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue