Provide justification for skipping test in v2

PiperOrigin-RevId: 240418174
This commit is contained in:
Mihai Maruseac 2019-03-26 13:41:42 -07:00 committed by TensorFlower Gardener
parent 0f4563a038
commit 1ec267d1f4

View File

@ -99,7 +99,9 @@ class StatefulRandomOpsTest(test.TestCase):
check_results(expected_normal1, *f()) check_results(expected_normal1, *f())
check_results(expected_normal2, *f()) check_results(expected_normal2, *f())
@test_util.run_v1_only @test_util.run_v1_only(
("This test is specifically for checking TF1 compatibility. "
"It cannot run under TF2."))
def testTF1(self): def testTF1(self):
seed = 1234 seed = 1234
shape = [2, 3] shape = [2, 3]