Commit afded53a authored by Ralf Schmitt's avatar Ralf Schmitt

greentest/: pep8

parent 1e156981
...@@ -101,7 +101,6 @@ class TestCase(BaseTestCase): ...@@ -101,7 +101,6 @@ class TestCase(BaseTestCase):
def fullname(self): def fullname(self):
return splitext(basename(self.modulename))[0] + '.' + self.testcasename return splitext(basename(self.modulename))[0] + '.' + self.testcasename
def hook_stderr(self): def hook_stderr(self):
if VERBOSE: if VERBOSE:
return return
......
...@@ -20,6 +20,7 @@ test_socket.GeneralModuleTests.* ...@@ -20,6 +20,7 @@ test_socket.GeneralModuleTests.*
tests = [x.strip().replace('\.', '\\.').replace('*', '.*?') for x in tests.split('\n') if x.strip()] tests = [x.strip().replace('\.', '\\.').replace('*', '.*?') for x in tests.split('\n') if x.strip()]
tests = re.compile('^%s$' % '|'.join(tests)) tests = re.compile('^%s$' % '|'.join(tests))
def get_switch_expected(fullname): def get_switch_expected(fullname):
""" """
>>> get_switch_expected('test_select.SelectTestCase.test_error_conditions') >>> get_switch_expected('test_select.SelectTestCase.test_error_conditions')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment