Fix a test failure with recent versions of ... Pytest? Python? Taken from upstream: https://github.com/keras-team/keras/commit/fe35050a8f18dc52304aa8da4e463eececa25240 diff --git a/tests/integration_tests/applications_test.py b/tests/integration_tests/applications_test.py index 979f2f2abd6..6e3b57fa8e2 100644 --- a/tests/integration_tests/applications_test.py +++ b/tests/integration_tests/applications_test.py @@ -58,7 +58,8 @@ def _test_application_basic(app, last_dim=1000): def _test_application_notop(app, last_dim): output_shape = _get_output_shape( lambda: app(weights=None, include_top=False)) - assert output_shape == (None, None, None, last_dim) + assert len(output_shape) == 4 + assert output_shape[-1] == last_dim def test_mobilenet_v2_legacy_import(): s'>koszko-scripts Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/djvu.scm
AgeCommit message (Expand)Author
2020-06-10gnu: djview: Update to 4.11....* gnu/packages/djvu.scm (djview): Update to 4.11. [source]: Use GIT-FETCH and add a FILE-NAME. [native-inputs]: Add autoconf, automake, and libtool. [arguments]: Add a ‘make-files-writable’ phase. Tobias Geerinckx-Rice
2020-02-09gnu: djview: Fix home-page....* gnu/packages/djvu.scm (djview)[home-page]: Point specifically to the project home-page. Nicolas Goaziou
2020-02-09gnu: djview: Fix executable's name in desktop file....* gnu/packages/djvu.scm (djview)[inputs]: Re-order inputs alphabetically. [arguments]: Add a phase to fix executable's name in desktop file. Nicolas Goaziou
2020-02-09gnu: Add djview....* gnu/packages/djvu.scm (djview): New variable. Nicolas Goaziou