diff options
-rw-r--r-- | utils/lit/lit/TestingConfig.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/lit/lit/TestingConfig.py b/utils/lit/lit/TestingConfig.py index e4980b3..223120c 100644 --- a/utils/lit/lit/TestingConfig.py +++ b/utils/lit/lit/TestingConfig.py @@ -118,5 +118,8 @@ class TestingConfig: @property def root(self): """root attribute - The root configuration for the test suite.""" - return self if self.parent is None else self.parent.root + if self.parent is None: + return self + else: + return self.parent.root |