human
Solve the following python programming problem given the following code:
@pytest.mark.parametrize(u'banned_package', [u'spacy', u'mitie', u'sklearn', u'duckling'])
def test_no_global_imports_of_banned_package(banned_package):
assistant
#Here is the Python program you requested.

    """This test ensures that neither of the banned packages are imported module wise in any of our code files.
    If one of the dependencies is needed, they should be imported within a function.
    """
    q = Queue()
    p = Process(target=get_tracked_imports, args=(q,))
    p.start()
    tracked_imports = q.get()
    p.join()
    def find_modules_importing(name):
        return {v for (k, vs) in tracked_imports.items() if k.startswith(name) for v in vs}
    assert (not find_modules_importing(banned_package)), u'No    module    should    import    {}    globally.    Found    in    {}'.format(banned_package, u',    '.join(find_modules_importing(banned_package)))