Did I find the right examples for you? yes no

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

src/s/y/Sypy-HEAD/module/thread/test/test_import_lock.py   Sypy(Download)
        def f():
            sys.path.insert(0, self.tmpdir)
            import foobaz2
            p = sys.path.pop(0)
            assert p == self.tmpdir

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/module/thread/test/test_import_lock.py   plexnet(Download)
        def f():
            sys.path.insert(0, self.tmpdir)
            import foobaz2
            p = sys.path.pop(0)
            assert p == self.tmpdir