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: