summaryrefslogtreecommitdiff
path: root/ot/utils.py
diff options
context:
space:
mode:
authorRĂ©mi Flamary <remi.flamary@gmail.com>2021-04-15 16:14:57 +0200
committerGitHub <noreply@github.com>2021-04-15 16:14:57 +0200
commitb895b22438de3556a2ce0de3ea760d8acb34c175 (patch)
treeaf2e07c004f187330504b48ba63552cb5d44c69f /ot/utils.py
parent5e8806f25f29104a8d23ba41eea1ab42dd43f72f (diff)
[MRG] Add new python versions for tests (also macos and windows) (#237)
* update python versions and add macosx bigsur * add versions macosx * remove big sur and add 3.7 in macos * disable paramell on macosx * remove double run of tests that was running both on push and pr
Diffstat (limited to 'ot/utils.py')
-rw-r--r--ot/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ot/utils.py b/ot/utils.py
index f881e69..544c569 100644
--- a/ot/utils.py
+++ b/ot/utils.py
@@ -237,7 +237,7 @@ def fun(f, q_in, q_out):
def parmap(f, X, nprocs=multiprocessing.cpu_count()):
""" paralell map for multiprocessing (only map on windows)"""
- if not sys.platform.endswith('win32'):
+ if not sys.platform.endswith('win32') and not sys.platform.endswith('darwin'):
q_in = multiprocessing.Queue(1)
q_out = multiprocessing.Queue()