Skip to content

Commit

Permalink
gunittest: init super() to initialise 'errors' attribute (OSGeo#1685)
Browse files Browse the repository at this point in the history
Fix error with message:
"AttributeError: 'GrassTestLoader' object has no attribute 'errors'"
  • Loading branch information
nilason authored Jul 27, 2021
1 parent 5a76c70 commit 602a630
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python/grass/gunittest/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ class GrassTestLoader(unittest.TestLoader):
universal_tests_value = "universal"

def __init__(self, grass_location):
super().__init__()
self.grass_location = grass_location

# TODO: what is the purpose of top_level_dir, can it be useful?
Expand Down

0 comments on commit 602a630

Please sign in to comment.