Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)

src/v/i/virtualenvcontext-HEAD/tests/basic_tests.py   virtualenvcontext(Download)
def test_no_global_mattd():
    import mattd
 
 
@raises(ImportError)
def test_no_venv_mattd():
    import virtualenvcontext as vc
    with vc.VirtualenvContext(TEST_VENV):
        import mattd
def test_install_into_virtualenv():
    import virtualenvcontext as vc
    with vc.VirtualenvContext(TEST_VENV):
        install_distributions(['mattd'])
        import mattd