diff options
author | 2018-06-28 17:11:05 -0700 | |
---|---|---|
committer | 2018-06-28 17:13:56 -0700 | |
commit | 6dc9977e1dffc9558835cf4d0a62b61b6c85cc19 (patch) | |
tree | c1e8bcbb2342df806d1387982370ce0b4a03c1ab /tensorflow/compiler/tests/variable_ops_test.py | |
parent | c81830af5d488de600a4f62392c63059e310c017 (diff) |
Import package xla_test instead of class XLATestCase.
PiperOrigin-RevId: 202572322
Diffstat (limited to 'tensorflow/compiler/tests/variable_ops_test.py')
-rw-r--r-- | tensorflow/compiler/tests/variable_ops_test.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tensorflow/compiler/tests/variable_ops_test.py b/tensorflow/compiler/tests/variable_ops_test.py index bd616f2a20..dd2c252d38 100644 --- a/tensorflow/compiler/tests/variable_ops_test.py +++ b/tensorflow/compiler/tests/variable_ops_test.py @@ -20,7 +20,7 @@ from __future__ import print_function import numpy as np -from tensorflow.compiler.tests.xla_test import XLATestCase +from tensorflow.compiler.tests import xla_test from tensorflow.python.framework import constant_op from tensorflow.python.framework import dtypes from tensorflow.python.framework import errors @@ -37,7 +37,7 @@ from tensorflow.python.platform import googletest from tensorflow.python.training.gradient_descent import GradientDescentOptimizer -class VariableOpsTest(XLATestCase): +class VariableOpsTest(xla_test.XLATestCase): """Test cases for resource variable operators.""" def testOneWriteOneOutput(self): @@ -435,7 +435,7 @@ class StridedSliceAssignChecker(object): self.test.assertAllEqual(val, valnp) -class SliceAssignTest(XLATestCase): +class SliceAssignTest(xla_test.XLATestCase): def testSliceAssign(self): for dtype in self.numeric_types: |