From ed252b87e02c39f7ab7ef81c681e3d933b600041 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Thu, 4 Mar 2021 17:46:32 -0500 Subject: use python2-compatible syntax because needed on macOS Apparently this unittest runs on macOS using the system python2. --- test cases/unit/39 python extmodule/blaster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test cases/unit/39 python extmodule/blaster.py') diff --git a/test cases/unit/39 python extmodule/blaster.py b/test cases/unit/39 python extmodule/blaster.py index daa392dca..163b6d426 100755 --- a/test cases/unit/39 python extmodule/blaster.py +++ b/test cases/unit/39 python extmodule/blaster.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python import sys import tachyon @@ -10,5 +10,5 @@ if not isinstance(result, int): sys.exit(1) if result != 1: - print(f'Returned result {result} is not 1.') + print('Returned result {} is not 1.'.format(result)) sys.exit(1) -- cgit v1.2.3