Skip to content

Commit

Permalink
Disable tests for NumPy that have no NumPy test cases.
Browse files Browse the repository at this point in the history
Under Python 3.12, tests are now considered failing if all of their test cases are skipped.

PiperOrigin-RevId: 614743321
  • Loading branch information
jburnim authored and tensorflower-gardener committed Mar 11, 2024
1 parent f32c8d4 commit 14a90ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tensorflow_probability/python/internal/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 14a90ba

Please sign in to comment.