mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-15 00:44:44 +00:00
Fix python2 unicode test error
I guess that if you don't have something python2 compliant to say. might as well say nothing at all Also fix linter errors
This commit is contained in:
parent
bdf3ce9135
commit
92a037684f
2 changed files with 7 additions and 5 deletions
|
|
@ -1,7 +1,8 @@
|
|||
"""Shared fixtures between unit tests"""
|
||||
import pytest
|
||||
"""Shared fixtures between unit tests."""
|
||||
import optparse
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
def options_from(**kwargs):
|
||||
"""Generate a Values instances with our kwargs."""
|
||||
|
|
@ -14,5 +15,5 @@ def options_from(**kwargs):
|
|||
|
||||
@pytest.fixture
|
||||
def default_options():
|
||||
"""Fixture returning the default options of flake8"""
|
||||
"""Fixture returning the default options of flake8."""
|
||||
return options_from()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue