From 14a90ba298381cdfae82ca10b741c83dd18a12de Mon Sep 17 00:00:00 2001 From: jburnim Date: Mon, 11 Mar 2024 11:51:43 -0700 Subject: [PATCH] Disable tests for NumPy that have no NumPy test cases. Under Python 3.12, tests are now considered failing if all of their test cases are skipped. PiperOrigin-RevId: 614743321 --- tensorflow_probability/python/internal/BUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tensorflow_probability/python/internal/BUILD b/tensorflow_probability/python/internal/BUILD index 2182c40599..ea5ed5b2f8 100644 --- a/tensorflow_probability/python/internal/BUILD +++ b/tensorflow_probability/python/internal/BUILD @@ -251,6 +251,7 @@ multi_substrate_py_library( multi_substrate_py_test( name = "custom_gradient_test", srcs = ["custom_gradient_test.py"], + numpy_tags = ["notap"], deps = [ ":custom_gradient", # tensorflow dep, @@ -468,6 +469,7 @@ multi_substrate_py_test( name = "numerics_testing_test", size = "small", srcs = ["numerics_testing_test.py"], + numpy_tags = ["notap"], deps = [ ":numerics_testing", # tensorflow dep,