From b819475a9346bedf31fd25e67dc2640ff6431141 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 19 Jun 2010 16:06:15 -0400 Subject: Fix to the way simplified regressions tests are read --- test/RegressTests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/RegressTests.py') diff --git a/test/RegressTests.py b/test/RegressTests.py index 0472ac90..73a05d52 100755 --- a/test/RegressTests.py +++ b/test/RegressTests.py @@ -52,7 +52,7 @@ class RegressFile(object): def read_section(self): lines = [] line = self.fd.readline() - while not self.is_directive(line): + while line and not self.is_directive(line): lines.append(self.transform_line(line)) line = self.fd.readline() return (lines, line) -- cgit v1.2.3