summaryrefslogtreecommitdiff
path: root/networkx/algorithms/approximation/tests
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2019-10-08 23:23:33 -0700
committerJarrod Millman <jarrod.millman@gmail.com>2019-10-12 09:21:57 -0700
commit67bb8deac5e06fd89079ffa4ea37d58ae527bdb3 (patch)
treec9ab9596ec98d99dbb5dc4c8c71a1bddb4d799e3 /networkx/algorithms/approximation/tests
parent75e0c43bef21f764c669244fb57f658b4afc94e9 (diff)
downloadnetworkx-67bb8deac5e06fd89079ffa4ea37d58ae527bdb3.tar.gz
Remove unused imports
Diffstat (limited to 'networkx/algorithms/approximation/tests')
-rw-r--r--networkx/algorithms/approximation/tests/test_approx_clust_coeff.py1
-rw-r--r--networkx/algorithms/approximation/tests/test_clique.py3
-rw-r--r--networkx/algorithms/approximation/tests/test_connectivity.py3
-rw-r--r--networkx/algorithms/approximation/tests/test_independent_set.py1
-rw-r--r--networkx/algorithms/approximation/tests/test_kcomponents.py3
-rw-r--r--networkx/algorithms/approximation/tests/test_matching.py1
-rw-r--r--networkx/algorithms/approximation/tests/test_treewidth.py2
-rw-r--r--networkx/algorithms/approximation/tests/test_vertex_cover.py1
8 files changed, 3 insertions, 12 deletions
diff --git a/networkx/algorithms/approximation/tests/test_approx_clust_coeff.py b/networkx/algorithms/approximation/tests/test_approx_clust_coeff.py
index a32eb18b..8bb538dc 100644
--- a/networkx/algorithms/approximation/tests/test_approx_clust_coeff.py
+++ b/networkx/algorithms/approximation/tests/test_approx_clust_coeff.py
@@ -1,4 +1,3 @@
-from nose.tools import assert_equal
import networkx as nx
from networkx.algorithms.approximation import average_clustering
diff --git a/networkx/algorithms/approximation/tests/test_clique.py b/networkx/algorithms/approximation/tests/test_clique.py
index 0737029b..585c381b 100644
--- a/networkx/algorithms/approximation/tests/test_clique.py
+++ b/networkx/algorithms/approximation/tests/test_clique.py
@@ -11,9 +11,6 @@ module.
"""
-from nose.tools import assert_greater
-from nose.tools import assert_true
-from nose.tools import assert_equal
import networkx as nx
from networkx.algorithms.approximation import max_clique
diff --git a/networkx/algorithms/approximation/tests/test_connectivity.py b/networkx/algorithms/approximation/tests/test_connectivity.py
index 19bb010a..661755d6 100644
--- a/networkx/algorithms/approximation/tests/test_connectivity.py
+++ b/networkx/algorithms/approximation/tests/test_connectivity.py
@@ -1,5 +1,4 @@
-import itertools
-from nose.tools import assert_true, assert_equal, assert_raises
+from nose.tools import assert_raises
import networkx as nx
from networkx.algorithms import approximation as approx
diff --git a/networkx/algorithms/approximation/tests/test_independent_set.py b/networkx/algorithms/approximation/tests/test_independent_set.py
index 21edf2e3..4b7c4526 100644
--- a/networkx/algorithms/approximation/tests/test_independent_set.py
+++ b/networkx/algorithms/approximation/tests/test_independent_set.py
@@ -1,4 +1,3 @@
-from nose.tools import *
import networkx as nx
import networkx.algorithms.approximation as a
diff --git a/networkx/algorithms/approximation/tests/test_kcomponents.py b/networkx/algorithms/approximation/tests/test_kcomponents.py
index 3413a98c..c6a67710 100644
--- a/networkx/algorithms/approximation/tests/test_kcomponents.py
+++ b/networkx/algorithms/approximation/tests/test_kcomponents.py
@@ -1,6 +1,5 @@
# Test for approximation to k-components algorithm
-from nose.tools import assert_equal, assert_true, assert_false, assert_in
-from nose.tools import assert_raises, raises, assert_greater_equal
+from nose.tools import assert_raises, raises
import networkx as nx
from networkx.algorithms.approximation import k_components
from networkx.algorithms.approximation.kcomponents import _AntiGraph, _same
diff --git a/networkx/algorithms/approximation/tests/test_matching.py b/networkx/algorithms/approximation/tests/test_matching.py
index d3b81c05..f50da3d2 100644
--- a/networkx/algorithms/approximation/tests/test_matching.py
+++ b/networkx/algorithms/approximation/tests/test_matching.py
@@ -1,4 +1,3 @@
-from nose.tools import *
import networkx as nx
import networkx.algorithms.approximation as a
diff --git a/networkx/algorithms/approximation/tests/test_treewidth.py b/networkx/algorithms/approximation/tests/test_treewidth.py
index a2c699ae..ac9a92bc 100644
--- a/networkx/algorithms/approximation/tests/test_treewidth.py
+++ b/networkx/algorithms/approximation/tests/test_treewidth.py
@@ -5,7 +5,7 @@
# All rights reserved.
# BSD license.
import networkx as nx
-from nose.tools import assert_equals, ok_
+from nose.tools import ok_
from networkx.algorithms.approximation import treewidth_min_degree
from networkx.algorithms.approximation import treewidth_min_fill_in
from networkx.algorithms.approximation.treewidth import min_fill_in_heuristic
diff --git a/networkx/algorithms/approximation/tests/test_vertex_cover.py b/networkx/algorithms/approximation/tests/test_vertex_cover.py
index ada17394..6343a20e 100644
--- a/networkx/algorithms/approximation/tests/test_vertex_cover.py
+++ b/networkx/algorithms/approximation/tests/test_vertex_cover.py
@@ -1,4 +1,3 @@
-from nose.tools import assert_equals
from nose.tools import ok_
import networkx as nx
from networkx.algorithms.approximation import min_weighted_vertex_cover