From 1ec267d1f44d181274cc35814936218bf67be504 Mon Sep 17 00:00:00 2001 From: Mihai Maruseac Date: Tue, 26 Mar 2019 13:41:42 -0700 Subject: [PATCH] Provide justification for skipping test in v2 PiperOrigin-RevId: 240418174 --- tensorflow/python/ops/stateful_random_ops_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tensorflow/python/ops/stateful_random_ops_test.py b/tensorflow/python/ops/stateful_random_ops_test.py index 4b04906ab82..a66e3ba3402 100644 --- a/tensorflow/python/ops/stateful_random_ops_test.py +++ b/tensorflow/python/ops/stateful_random_ops_test.py @@ -99,7 +99,9 @@ class StatefulRandomOpsTest(test.TestCase): check_results(expected_normal1, *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): seed = 1234 shape = [2, 3]