Commit 7b5352e1 authored by Stefan Behnel's avatar Stefan Behnel

improve Python compatibility in pyregr tests

parent fb8a24cb
...@@ -852,7 +852,7 @@ class CythonPyregrTestCase(CythonRunTestCase): ...@@ -852,7 +852,7 @@ class CythonPyregrTestCase(CythonRunTestCase):
CythonRunTestCase.setUp(self) CythonRunTestCase.setUp(self)
from Cython.Compiler import Options from Cython.Compiler import Options
Options.error_on_unknown_names = False Options.error_on_unknown_names = False
Options.directive_defaults['binding'] = True Options.directive_defaults.update(dict(binding=True, always_allow_keywords=True))
def _run_unittest(self, result, *classes): def _run_unittest(self, result, *classes):
"""Run tests from unittest.TestCase-derived classes.""" """Run tests from unittest.TestCase-derived classes."""
......
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