From 4d364e917ef715087835f8af3fc46e84da744194 Mon Sep 17 00:00:00 2001 From: Harry Date: Sun, 23 Feb 2025 11:06:43 +0000 Subject: [PATCH] different attempted fix for 25 --- tests/book_tester.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/book_tester.py b/tests/book_tester.py index 76fdfdef..e7f8478a 100644 --- a/tests/book_tester.py +++ b/tests/book_tester.py @@ -878,11 +878,11 @@ def recognise_listing_and_process_it(self): "docker kill $(docker ps -q)", ignore_errors=True, silent=True ) fixed = Command(listing.replace(" -it ", " -t ")) - if "docker run -t debug-ci" in fixed: + if "docker run --platform=linux/amd64 -t debug-ci" in fixed: fixed = Command( fixed.replace( - "docker run -t debug-ci", - "docker run -e PYTHON_COLORS=0 -t debug-ci", + "docker run --platform=linux/amd64 -t debug-ci", + "docker run -e PYTHON_COLORS=0 --platform=linux/amd64 -t debug-ci" ) ) next_listing = self.listings[self.pos + 1]