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(): oszko-scripts Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/m4.scm
AgeCommit message (Expand)Author
2023-07-20gnu: m4: Skip gnulib stack-overflow tests for the Hurd....* gnu/packages/m4.scm (m4)[arguments]: When building for the Hurd, add stage 'skip-stack-overflow-tests'. Janneke Nieuwenhuizen
2022-06-26gnu: m4: Fix cross-compilation....* gnu/packages/m4.scm (m4)[arguments]: Look up /bin/sh in NATIVE-INPUTS if applicable. Marius Bakke
2022-06-26gnu: m4: Update to 1.4.19....* gnu/packages/m4.scm (m4): Update to 1.4.19. [source](patches): Remove. [arguments]: Add phase 'disable-test. Adjust shell configuration phase. * gnu/packages/patches/m4-gnulib-libio.patch: Delete file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. Marius Bakke