diff --git a/tensorflow_probability/python/layers/internal/distribution_tensor_coercible_test.py b/tensorflow_probability/python/layers/internal/distribution_tensor_coercible_test.py index 7de82793ac..e84d69d642 100644 --- a/tensorflow_probability/python/layers/internal/distribution_tensor_coercible_test.py +++ b/tensorflow_probability/python/layers/internal/distribution_tensor_coercible_test.py @@ -294,6 +294,9 @@ def testPropagatedAttributes(self): class MemoryLeakTest(test_util.TestCase): def testTypeObjectLeakage(self): + # TODO(b/303352281): Reenable this test. + self.skipTest('This test does not currently work under Python 3.11.') + if not tf.executing_eagerly(): self.skipTest('only relevant to eager')