summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarren Weckesser <warren.weckesser@gmail.com>2019-12-15 21:48:38 -0500
committerWarren Weckesser <warren.weckesser@gmail.com>2019-12-15 21:48:38 -0500
commitd920a80bbda99562b50ff5296ebcdb2c81e8e8d5 (patch)
tree7d30ab8b7a9c38a6bf09171572310397aaf836b7
parentde06954b19a6c0980d48e4397adabfd15d808660 (diff)
downloadnumpy-d920a80bbda99562b50ff5296ebcdb2c81e8e8d5.tar.gz
MAINT: random: Remove a few unused imports from test files.
-rw-r--r--numpy/random/tests/test_generator_mt19937.py1
-rw-r--r--numpy/random/tests/test_generator_mt19937_regressions.py1
-rw-r--r--numpy/random/tests/test_smoke.py1
3 files changed, 0 insertions, 3 deletions
diff --git a/numpy/random/tests/test_generator_mt19937.py b/numpy/random/tests/test_generator_mt19937.py
index d835f16bd..5b3d5f08a 100644
--- a/numpy/random/tests/test_generator_mt19937.py
+++ b/numpy/random/tests/test_generator_mt19937.py
@@ -3,7 +3,6 @@ import sys
import pytest
import numpy as np
-from numpy.dual import cholesky, eigh, svd
from numpy.linalg import LinAlgError
from numpy.testing import (
assert_, assert_raises, assert_equal, assert_allclose,
diff --git a/numpy/random/tests/test_generator_mt19937_regressions.py b/numpy/random/tests/test_generator_mt19937_regressions.py
index 3a937f997..7ca8b9f3c 100644
--- a/numpy/random/tests/test_generator_mt19937_regressions.py
+++ b/numpy/random/tests/test_generator_mt19937_regressions.py
@@ -1,4 +1,3 @@
-import sys
from numpy.testing import (assert_, assert_array_equal)
from numpy.compat import long
import numpy as np
diff --git a/numpy/random/tests/test_smoke.py b/numpy/random/tests/test_smoke.py
index 58ef6a09a..cdaac5ebb 100644
--- a/numpy/random/tests/test_smoke.py
+++ b/numpy/random/tests/test_smoke.py
@@ -1,5 +1,4 @@
import pickle
-import time
from functools import partial
import numpy as np