Skip to content

Commit

Permalink
remove flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Apr 14, 2018
1 parent 611504d commit b5629ab
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

class TestFlake8(unittest.TestCase):

def test_flake8_src(self):
def test_code_style_src(self):
fLOG(
__file__,
self._testMethodName,
Expand All @@ -52,14 +52,14 @@ def test_flake8_src(self):
if sys.version_info[0] == 2 or "Anaconda" in sys.executable \
or "condavir" in sys.executable:
warnings.warn(
"skipping test_flake8 because of Python 2 or " + sys.executable)
"skipping test_code_style because of Python 2 or " + sys.executable)
return

thi = os.path.abspath(os.path.dirname(__file__))
src_ = os.path.normpath(os.path.join(thi, "..", "..", "src"))
check_pep8(src_, fLOG=fLOG)

def test_flake8_test(self):
def test_code_style_test(self):
fLOG(
__file__,
self._testMethodName,
Expand All @@ -68,7 +68,7 @@ def test_flake8_test(self):
if sys.version_info[0] == 2 or "Anaconda" in sys.executable \
or "condavir" in sys.executable:
warnings.warn(
"skipping test_flake8 because of Python 2 or " + sys.executable)
"skipping test_code_style because of Python 2 or " + sys.executable)
return

thi = os.path.abspath(os.path.dirname(__file__))
Expand Down

0 comments on commit b5629ab

Please sign in to comment.