Skip to content

Commit

Permalink
Remove unittest import (#11596)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhseu authored and frankchn committed Jul 19, 2017
1 parent 53d4c4b commit daa67ad
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tensorflow/python/kernel_tests/sparse_ops_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from __future__ import print_function

import numpy as np
import unittest

from tensorflow.python.framework import constant_op
from tensorflow.python.framework import dtypes
Expand Down Expand Up @@ -606,7 +605,6 @@ def _compare_all(self, sp_t, reduction_axes, ndims):
self._compare(sp_t, reduction_axes, ndims, True, False)
self._compare(sp_t, reduction_axes, ndims, True, True)

@unittest.skipIf(np.__version__ == "1.13.0", "numpy 1.13 bug")
def testSimpleAndRandomInputs(self):
if np.__version__ == "1.13.0":
self.skipTest("numpy 1.13.0 bug")
Expand Down Expand Up @@ -646,7 +644,6 @@ def testInvalidAxes(self):
with self.assertRaisesOpError("Invalid reduction dimension 2"):
sparse_ops.sparse_reduce_max(sp_t, 2).eval()

@unittest.skipIf(np.__version__ == "1.13.0", "numpy 1.13 bug")
def testGradient(self):
if np.__version__ == "1.13.0":
self.skipTest("numpy 1.13.0 bug")
Expand Down

0 comments on commit daa67ad

Please sign in to comment.