mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
[lit] Fix a relative import issue I missed earlier.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188360 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
213ab86ee6
commit
af5a9e3f1e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user