[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:
Daniel Dunbar 2013-08-14 05:07:16 +00:00
parent 213ab86ee6
commit af5a9e3f1e

View File

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