Commit e5f8db6c authored by aiudirog's avatar aiudirog Committed by Stefan Behnel

Fix parallel option test in TestCythonizeArgsParser (GH-2982)

parent 3f402478
from Cython.Build.Cythonize import create_args_parser, parse_args_raw, parse_args
from Cython.Build.Cythonize import (
create_args_parser, parse_args_raw, parse_args,
parallel_compiles
)
from unittest import TestCase
import argparse
......@@ -22,7 +25,7 @@ class TestCythonizeArgsParser(TestCase):
if (getattr(options, opt_name) is not None) and (not opt_name in skip):
self.assertEqual(opt_name,"", msg="For option "+opt_name)
return False
if options.parallel!=3 and (not 'parallel' in skip):
if options.parallel!=parallel_compiles and (not 'parallel' in skip):
return False
return True
......
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