static analysis import tests

This commit is contained in:
Dave Halter
2014-05-11 15:18:48 +02:00
parent c92113a7b1
commit 7b525285bd
4 changed files with 11 additions and 8 deletions

View File

@@ -13,7 +13,7 @@ CODES = {
class Error(object):
def __init__(self, name, module_path, start_pos):
self._module_path = module_path
self.path = module_path
self._start_pos = start_pos
self.name = name
@@ -39,7 +39,7 @@ class Error(object):
def __repr__(self):
return '<%s %s: %s@%s,%s' % (self.__class__.__name__,
self.name, self._module_path,
self.name, self.path,
self._start_pos[0], self._start_pos[1])