#!/usr/bin/env python
# coding: utf-8

from __future__ import print_function

import os, sys, unittest, collections, copy, re

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from eight import *


class TestEight(unittest.TestCase):
    def test_basic_eight_statements(self):
        #from eight import *
        from eight import queue

if __name__ == '__main__':
    unittest.main()

#!/usr/bin/env python
# coding: utf-8

from __future__ import print_function

import os, sys, unittest, collections, copy, re

sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from eight import *


class TestEight(unittest.TestCase):
    def test_basic_eight_statements(self):
        from eight import *
        from eight import queue

if __name__ == '__main__':
    unittest.main()

Update test.py