Skip to content

Commit

Permalink
increase coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgigante committed Jul 11, 2018
1 parent 4282caf commit 2d0f9fa
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 24 deletions.
4 changes: 0 additions & 4 deletions test/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,3 @@ def test_unknown_parameter():
@raises(ValueError)
def test_invalid_graphtype():
build_graph(data, graphtype='hello world')


if __name__ == "__main__":
exit(nose2.run())
4 changes: 0 additions & 4 deletions test/test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,3 @@ def test_inverse_transform_sparse_no_pca():
assert_raises(ValueError, G.inverse_transform, sp.csr_matrix(G.data)[:, 0])
assert_raises(ValueError, G.inverse_transform,
sp.csr_matrix(G.data)[:, :15])


if __name__ == "__main__":
exit(nose2.run())
4 changes: 0 additions & 4 deletions test/test_exact.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,3 @@ def test_verbose():
print()
print("Verbose test: Exact")
build_graph(data, decay=10, thresh=0, verbose=True)


if __name__ == "__main__":
exit(nose2.run())
4 changes: 0 additions & 4 deletions test/test_knn.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,3 @@ def test_verbose():
print()
print("Verbose test: kNN")
build_graph(data, decay=None, verbose=True)


if __name__ == "__main__":
exit(nose2.run())
4 changes: 0 additions & 4 deletions test/test_landmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,3 @@ def test_verbose():
print()
print("Verbose test: Landmark")
build_graph(data, decay=None, n_landmark=500, verbose=True).landmark_op


if __name__ == "__main__":
exit(nose2.run())
4 changes: 0 additions & 4 deletions test/test_mnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,3 @@ def test_verbose():
build_graph(X, sample_idx=sample_idx,
kernel_symm='gamma', gamma=0.5,
n_pca=None, verbose=True)


if __name__ == "__main__":
exit(nose2.run())

0 comments on commit 2d0f9fa

Please sign in to comment.