summaryrefslogtreecommitdiff
path: root/ot/utils.py
diff options
context:
space:
mode:
authorAyush Karnawat <ayush.karnawat97@gmail.com>2020-05-19 02:29:51 -0400
committerGitHub <noreply@github.com>2020-05-19 08:29:51 +0200
commitad04f50a04fcc240604eda416fac1099d269302c (patch)
tree5ffca11e7db48ea2406a2708bbb0b60f3592de1a /ot/utils.py
parent37456eb117022393472eed22e0d0c2eb17faf786 (diff)
[MRG] Codecov options + remove 2.7 (#178)
* cleanup setup * Ignore files in codecov * Remove externals module * change name to compile_args * bye py2.7 (you will be missed) * glob to ignore folders
Diffstat (limited to 'ot/utils.py')
-rw-r--r--ot/utils.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/ot/utils.py b/ot/utils.py
index f9911a1..f881e69 100644
--- a/ot/utils.py
+++ b/ot/utils.py
@@ -15,10 +15,7 @@ import numpy as np
from scipy.spatial.distance import cdist
import sys
import warnings
-try:
- from inspect import signature
-except ImportError:
- from .externals.funcsigs import signature
+from inspect import signature
__time_tic_toc = time.time()