diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-05-03 16:10:16 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-05-03 16:10:16 +0200 |
commit | 40efd5313e06b5f60320fd5b73508d8ccb9bfe39 (patch) | |
tree | c3ca925e16413674e439569a3e6b6e5346c13e4f | |
parent | b705bac4cb41e04fb889165655fdfd4e65efaed2 (diff) | |
download | cython-40efd5313e06b5f60320fd5b73508d8ccb9bfe39.tar.gz |
Clean up some code formatting.
-rwxr-xr-x | runtests.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtests.py b/runtests.py index 35d6522f3..72b84e43a 100755 --- a/runtests.py +++ b/runtests.py @@ -1597,7 +1597,7 @@ class TestCodeFormat(unittest.TestCase): import pycodestyle config_file = os.path.join(self.cython_dir, "setup.cfg") if not os.path.exists(config_file): - config_file=os.path.join(os.path.dirname(__file__), "setup.cfg") + config_file = os.path.join(os.path.dirname(__file__), "setup.cfg") paths = [] for codedir in ['Cython', 'Demos', 'docs', 'pyximport', 'tests']: paths += glob.glob(os.path.join(self.cython_dir, codedir + "/**/*.py"), recursive=True) @@ -1700,8 +1700,7 @@ class EndToEndTest(unittest.TestCase): """ cython_root = os.path.dirname(os.path.abspath(__file__)) - def __init__(self, treefile, workdir, cleanup_workdir=True, stats=None, - capture=True): + def __init__(self, treefile, workdir, cleanup_workdir=True, stats=None, capture=True): self.name = os.path.splitext(os.path.basename(treefile))[0] self.treefile = treefile self.workdir = os.path.join(workdir, self.name) |