Skip to content

Fix parallel option test in TestCythonizeArgsParser#2982

Merged
scoder merged 1 commit intocython:masterfrom
aiudirog:aiudirog_fix_args_test
Jun 7, 2019
Merged

Fix parallel option test in TestCythonizeArgsParser#2982
scoder merged 1 commit intocython:masterfrom
aiudirog:aiudirog_fix_args_test

Conversation

@aiudirog
Copy link
Contributor

@aiudirog aiudirog commented Jun 4, 2019

I noticed that most of the tests in TestCythonizeArgsParser were failing for me because options.parallel was hard coded to test against a default value of 3 when it is actually set to floor(CPU cores * 1.5). Fixed by importing the actual default and checking against that instead.

@scoder
Copy link
Contributor

scoder commented Jun 7, 2019

Nice one, thanks. Shows how common dual-core CPUs still are these days.

@scoder scoder merged commit e5f8db6 into cython:master Jun 7, 2019
@scoder scoder added this to the 3.0 milestone Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants