Commit bb864e30 by Frankie Dintino

Set a default value of os.environ['NUMBER_OF_PROCESSORS'] on windows

If this environment variable is not set, multiprocessing throws a
NotImplementedError
parent fd0be33a
# -*- coding: utf-8 flake8: noqa -*-
import os
import sys
if sys.platform.startswith('win'):
os.environ.setdefault('NUMBER_OF_PROCESSORS', '1')
from .test_compiler import *
from .test_compressor import *
from .test_template import *
......
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