From cda1559ed7231206321fb4777129815d9aa5c84c Mon Sep 17 00:00:00 2001 From: Hristo Georgiev Date: Sat, 16 May 2020 11:09:09 +0100 Subject: [PATCH] Add missing `self` argument to `read_cpu_time_file`. --- tests/old/testbase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/old/testbase.py b/tests/old/testbase.py index 502d380823..af5d802f19 100644 --- a/tests/old/testbase.py +++ b/tests/old/testbase.py @@ -550,7 +550,7 @@ class Host: verbose_echo(0, "Couldn't kill pid %d" % self.pid) self.pid = 0 - def read_cpu_time_file(filename): + def read_cpu_time_file(self, filename): try: return float(open(self.dir(filename)).readline()) except: