google-deepmind / chex

https://chex.readthedocs.io
Apache License 2.0
769 stars 44 forks source link

Remove a bad async chexify test as the following is not guaranteed: #353

Closed copybara-service[bot] closed 4 months ago

copybara-service[bot] commented 5 months ago

Remove a bad async chexify test as the following is not guaranteed:

async_check(invalid_x)  # enqueued and immediately returned
# error is not ready yet, so no assertion raised
async_check(valid_x).block_until_ready()

When we call the second async_check on a valid array, the error from the first call could be ready.