1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[lit] Fix a relative import issue I missed earlier.

llvm-svn: 188360
This commit is contained in:
Daniel Dunbar 2013-08-14 05:07:16 +00:00
parent 2a30db9a35
commit 72dd0252d9

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)