Commit 3e957acb authored by Kevin Modzelewski's avatar Kevin Modzelewski Committed by Kevin Modzelewski

Change these to absolute imports

needed because of how we symlink things
parent 7f1d9eb9
# expected: fail
# Check that multiple features can be enabled. # Check that multiple features can be enabled.
from __future__ import unicode_literals, print_function from __future__ import unicode_literals, print_function
import sys import sys
import unittest import unittest
from . import test_support # Pyston change: changed to absolute import
from test import test_support
class TestMultipleFeatures(unittest.TestCase): class TestMultipleFeatures(unittest.TestCase):
......
# expected: fail
from test import test_support as support from test import test_support as support
# If we end up with a significant number of tests that don't require # If we end up with a significant number of tests that don't require
# threading, this test module should be split. Right now we skip # threading, this test module should be split. Right now we skip
...@@ -11,7 +10,8 @@ import os.path ...@@ -11,7 +10,8 @@ import os.path
import SocketServer import SocketServer
import time import time
from test_support import reap_threads, verbose, transient_internet # Pyston change: changed to absolute import
from test.test_support import reap_threads, verbose, transient_internet
import unittest import unittest
try: try:
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
""" Test suite for the code in msilib """ """ Test suite for the code in msilib """
import unittest import unittest
import os import os
from test_support import run_unittest, import_module # Pyston change: changed to an absolute import due to our changed way of running the tests
from test.test_support import run_unittest, import_module
msilib = import_module('msilib') msilib = import_module('msilib')
class Test_make_id(unittest.TestCase): class Test_make_id(unittest.TestCase):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment