diff options
Diffstat (limited to 'utils/lit/lit/LitTestCase.py')
-rw-r--r-- | utils/lit/lit/LitTestCase.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/lit/lit/LitTestCase.py b/utils/lit/lit/LitTestCase.py index 8951185..478dbae 100644 --- a/utils/lit/lit/LitTestCase.py +++ b/utils/lit/lit/LitTestCase.py @@ -1,5 +1,7 @@ +from __future__ import absolute_import import unittest -import Test + +import lit.Test """ TestCase adaptor for providing a 'unittest' compatible interface to 'lit' tests. @@ -24,7 +26,7 @@ class LitTestCase(unittest.TestCase): tr, output = self._test.config.test_format.execute( self._test, self._lit_config) - if tr is Test.UNRESOLVED: + if tr is lit.Test.UNRESOLVED: raise UnresolvedError(output) elif tr.isFailure: self.fail(output) |