diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index 3cf56ecbd3..d4f8897d6f 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -16,7 +16,7 @@ jobs: fail-fast: false matrix: group: [1, 2, 3, 4, 5, 6] - python: ["3.8", "3.11"] + python: ["3.8", "3.12"] steps: - uses: actions/checkout@v4 @@ -68,7 +68,7 @@ jobs: strategy: fail-fast: false matrix: - python: ["3.8", "3.11"] + python: ["3.8", "3.12"] needs: testpython steps: - name: Get durations from cache diff --git a/source/tests/tf/test_parallel_training.py b/source/tests/tf/test_parallel_training.py index 13346a2c30..0d9d7c1b94 100644 --- a/source/tests/tf/test_parallel_training.py +++ b/source/tests/tf/test_parallel_training.py @@ -40,12 +40,16 @@ def test_two_workers(self): stdout=sp.PIPE, stderr=sp.STDOUT, ) + lines = [] for line in iter(popen.stdout.readline, b""): if hasattr(line, "decode"): line = line.decode("utf-8") line = line.rstrip() + lines.append(line) popen.wait() - self.assertEqual(0, popen.returncode, "Parallel training failed!") + self.assertEqual( + 0, popen.returncode, f"Parallel training failed!\n{''.join(lines)}" + ) if __name__ == "__main__":