type of NamePart in definition should work.

This commit is contained in:
Dave Halter committed 2014-04-18 01:31:07 +02:00
1 parent fe98940624
commit b643325889
6 files changed
+15 -8

No files matched your search

+4 -2
View File
@@ -221,8 +221,10 @@ class IntegrationTestCase(object):
# this means that there is a module specified
wanted.append(pos_tup)
else:
wanted.append((self.module_name, self.line_nr + pos_tup[0],
pos_tup[1]))
line = pos_tup[0]
if pos_tup[0] is not None:
line += self.line_nr
wanted.append((self.module_name, line, pos_tup[1]))
return compare_cb(self, compare, sorted(wanted))