Commit ef5e54e6 authored by Naelson Douglas C. Oliveira's avatar Naelson Douglas C. Oliveira Committed by GitHub

Replace a mutable default argument with a None default and check since it is...

Replace a mutable default argument with a None default and check since it is not intended to be mutated (GH-4435)
parent f848bdf6
...@@ -945,7 +945,9 @@ class CythonCompileTestCase(unittest.TestCase): ...@@ -945,7 +945,9 @@ class CythonCompileTestCase(unittest.TestCase):
fork=True, language_level=2, warning_errors=False, fork=True, language_level=2, warning_errors=False,
test_determinism=False, test_determinism=False,
common_utility_dir=None, pythran_dir=None, stats=None, add_cython_import=False, common_utility_dir=None, pythran_dir=None, stats=None, add_cython_import=False,
extra_directives={}): extra_directives=None):
if extra_directives is None:
extra_directives = {}
self.test_directory = test_directory self.test_directory = test_directory
self.tags = tags self.tags = tags
self.workdir = workdir self.workdir = workdir
......
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