Quellcode durchsuchen

gunittest: init super() to initialise 'errors' attribute (#1685)

Fix error with message:
"AttributeError: 'GrassTestLoader' object has no attribute 'errors'"
nilason vor 3 Jahren
Ursprung
Commit
602a63020f
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      python/grass/gunittest/loader.py

+ 1 - 0
python/grass/gunittest/loader.py

@@ -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?