Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Conversation

codesue
Copy link
Contributor

@codesue codesue commented Nov 13, 2022

What does this pull request do?

Previously, some tests were failing due to JSONDecodeErrors since cats_vs_dogs.json was corrupted or ModuleNotFoundErrors since tensorflow-datasets wasn't installed. This PR fixes those tests.

How did you test this change?

I ran all tests with find . -name '*_test.py' | xargs -I {} python {}. After I made my changes, I installed tensorflow-datasets using pip install '.[test]' and reran the tests.

How did you document this change?

TODO as part of #239

Before submitting

Before submitting a pull request, please be sure to do the following:

  • Read the How to Contribute guide if this is your first contribution.
  • Open an issue or discussion topic to discuss this change. (discussed on Slack)
  • Write new tests if applicable.
  • Update documentation if applicable. (planned)

@codesue codesue marked this pull request as ready for review November 13, 2022 20:20
@codesue codesue requested a review from hanneshapke November 13, 2022 20:20
@codesue codesue merged commit 8e45afb into tensorflow:master Nov 14, 2022
@codesue codesue deleted the fix-failing-tests branch November 14, 2022 20:25
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants