Skip to content

Commit

Permalink
Fix nightlies take two (#525)
Browse files Browse the repository at this point in the history
The previous fix in #522 to ignore the spurious error being raise by our
nightlies fixes tf-nightly, but broke environments with tf < 2.10 as the
error symbol did not exists.

Let's match the error message, rather than the class, to work around
this.
  • Loading branch information
mattdangerw authored Dec 5, 2022
1 parent 9c17e05 commit 35731d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ filterwarnings =
ignore::PendingDeprecationWarning
ignore::FutureWarning
ignore::UserWarning
ignore::keras.saving.legacy.serialization.CustomMaskWarning
# Ignore a spurious warning on tf-nightly related to save model changes.
ignore:Custom mask layers require a config

addopts=-vv

Expand Down

0 comments on commit 35731d7

Please sign in to comment.