Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)
Register the path hook.

src/i/v/ivoire-0.2/ivoire/run.py   ivoire(Download)
 
    if transform_possible:
        ExampleLoader.register()
 
        args, sys.argv[1:] = sys.argv[1:], config.args

src/i/v/Ivoire-HEAD/ivoire/run.py   Ivoire(Download)
 
    if transform_possible:
        ExampleLoader.register()
 
        args, sys.argv[1:] = sys.argv[1:], config.args

src/i/v/Ivoire-HEAD/ivoire/tests/test_transform.py   Ivoire(Download)
    def test_it_registers_a_file_finder(self):
        transform.ExampleLoader.register()
        self.assertEqual(
            self.path_hooks,
            list(self.hooks) + [self.FileFinder.path_hook.return_value],
    def test_it_unregisters_the_file_finder(self):
        transform.ExampleLoader.register()
        transform.ExampleLoader.unregister()
        self.assertEqual(self.path_hooks, list(self.hooks))
 

src/i/v/ivoire-0.2/ivoire/tests/test_transform.py   ivoire(Download)
    def test_it_registers_a_file_finder(self):
        transform.ExampleLoader.register()
        self.assertEqual(
            self.path_hooks,
            list(self.hooks) + [self.FileFinder.path_hook.return_value],
    def test_it_unregisters_the_file_finder(self):
        transform.ExampleLoader.register()
        transform.ExampleLoader.unregister()
        self.assertEqual(self.path_hooks, list(self.hooks))