Provide justification for skipping test in v2
PiperOrigin-RevId: 240418174
This commit is contained in:
parent
0f4563a038
commit
1ec267d1f4
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user