Skip to content

Finishing the pytest migration. #1661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 43 commits into from
Apr 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
ab7a190
Removed run_all_in_graph_and_eager_mode in attention_wrapper_test.py.
gabrieldemarmiesse Apr 13, 2020
2c8153f
Refactoring.
gabrieldemarmiesse Apr 17, 2020
71a03c0
Merge branch 'master' into pytestify_attention_wrapper_test
gabrieldemarmiesse Apr 17, 2020
c494cb8
Some black bug.
gabrieldemarmiesse Apr 17, 2020
961d046
Merge branch 'master' into pytestify_attention_wrapper_test
gabrieldemarmiesse Apr 19, 2020
d20aff9
Done one test.
gabrieldemarmiesse Apr 19, 2020
9f62a5b
Fuse functions.
gabrieldemarmiesse Apr 19, 2020
72fb086
Rewrite with unittest2pytest.
gabrieldemarmiesse Apr 19, 2020
db01ae0
Moved function.
gabrieldemarmiesse Apr 19, 2020
0ff4ea2
Removed use gpu.
gabrieldemarmiesse Apr 19, 2020
2c6033e
Remove prints.
gabrieldemarmiesse Apr 19, 2020
6eeb7b7
Removed one assertAllclose.
gabrieldemarmiesse Apr 19, 2020
54c61a9
Removed some more self.
gabrieldemarmiesse Apr 19, 2020
7c9d153
Removed some more self.
gabrieldemarmiesse Apr 19, 2020
0e680de
Moved function out of class.
gabrieldemarmiesse Apr 19, 2020
b59e6db
Removed one function.
gabrieldemarmiesse Apr 19, 2020
45370cd
Removed some self.
gabrieldemarmiesse Apr 19, 2020
6f41721
Moved a function out of tf.test.TestCase.
gabrieldemarmiesse Apr 19, 2020
660a5c2
Removed decorator.
gabrieldemarmiesse Apr 19, 2020
6d5962e
IIII
gabrieldemarmiesse Apr 19, 2020
f83718a
Removed the run functions eagerly.
gabrieldemarmiesse Apr 19, 2020
bbb9f55
Removed import.
gabrieldemarmiesse Apr 19, 2020
50ab131
Removed is_multi.
gabrieldemarmiesse Apr 19, 2020
b80de7b
Removed self for batch.
gabrieldemarmiesse Apr 19, 2020
5dfc86a
Removed some more self.
gabrieldemarmiesse Apr 19, 2020
56a3460
Removed some more self.
gabrieldemarmiesse Apr 19, 2020
50b4a0c
Removed some stuff.
gabrieldemarmiesse Apr 19, 2020
9aeabec
Unholy stuff there.
gabrieldemarmiesse Apr 19, 2020
92a0b97
Found a way to replace that.
gabrieldemarmiesse Apr 19, 2020
898af3f
Works well.
gabrieldemarmiesse Apr 19, 2020
ac412e0
Removed self completely from function.
gabrieldemarmiesse Apr 19, 2020
51ba137
Removed self from parameters.
gabrieldemarmiesse Apr 19, 2020
e2301f2
Managed to move the function.
gabrieldemarmiesse Apr 19, 2020
8797ab0
It works with pytest only.
gabrieldemarmiesse Apr 19, 2020
b1cbf4d
Fully converted to pytest.
gabrieldemarmiesse Apr 19, 2020
826a61e
Minor simplification.
gabrieldemarmiesse Apr 19, 2020
120e4f4
Some comment.
gabrieldemarmiesse Apr 19, 2020
85a76b8
Removed some unused functions.
gabrieldemarmiesse Apr 19, 2020
a90ab5d
Removed some elements from the test_no_deprecated_v1.
gabrieldemarmiesse Apr 19, 2020
03883bb
Removed some files from blacklists.
gabrieldemarmiesse Apr 19, 2020
51eb321
Merge branch 'master' into pytestify_attention_wrapper_test
gabrieldemarmiesse Apr 23, 2020
39698a2
Forgot to remove run_eagerly.
gabrieldemarmiesse Apr 23, 2020
702453b
Removed tf.executing_eagerly.
gabrieldemarmiesse Apr 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,5 @@ per-file-ignores =
tensorflow_addons/image/tests/utils_test.py:N802
tensorflow_addons/image/tests/color_ops_test.py:N802
tensorflow_addons/optimizers/tests/conditional_gradient_test.py:N802
tensorflow_addons/optimizers/tests/lazy_adam_test.py:N802
tensorflow_addons/seq2seq/tests/attention_wrapper_test.py:N802
tensorflow_addons/seq2seq/tests/basic_decoder_test.py:N802
tensorflow_addons/seq2seq/tests/decoder_test.py:N802
tensorflow_addons/seq2seq/tests/beam_search_decoder_test.py:N802
tensorflow_addons/seq2seq/tests/beam_search_ops_test.py:N802
tensorflow_addons/optimizers/tests/cyclical_learning_rate_test.py:N802
# variable ... in function should be lowercase
tensorflow_addons/callbacks/tests/time_stopping_test.py:N806
Loading