autotest: correct format string in error path

name is a string, not an integer
This commit is contained in:
Peter Barker 2024-04-15 08:00:38 +10:00 committed by Peter Barker
parent 52a9bb7792
commit d0a7e70d0f
1 changed files with 1 additions and 1 deletions

View File

@ -13682,7 +13682,7 @@ switch value'''
n = self.poll_home_position(timeout=120)
distance = self.get_distance_int(orig, n)
if distance > 1:
raise NotAchievedException("gps type %u misbehaving" % name)
raise NotAchievedException(f"gps type {name} misbehaving")
def assert_gps_satellite_count(self, messagename, count):
m = self.assert_receive_message(messagename)