def test_nonDefaultFollowsDefaultSyntaxError(self):
        source = """\
def foo(bar=baz, bax):
    pass
"""
        sourcePath = self.makeTempFile(source)
        last_line = '        ^\n' if sys.version_info >= (3, 2) else ''
        self.assertHasErrors(
            sourcePath,
            ["""\
%s:1: non-default argument follows default argument
def foo(bar=baz, bax):
%s""" % (sourcePath, last_line)])
Source which has a non-default argument following a default argument
dataset/ETHPy150Open patrys/PythonChecker/pyflakes/test/test_api.py/CheckTests.test_nonDefaultFollowsDefaultSyntaxError