Did I find the right examples for you? yes no

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

src/s/t/static-python-HEAD/Lib/test/test_namespace_pkgs.py   static-python(Download)
    def test_module_before_namespace_package(self):
        # Make sure we find the module in preference to the
        #  namespace package.
        import a_test
        self.assertEqual(a_test.attr, 'in module')

src/c/p/cpython-HEAD/Lib/test/test_importlib/test_namespace_pkgs.py   cpython(Download)
    def test_module_before_namespace_package(self):
        # Make sure we find the module in preference to the
        #  namespace package.
        import a_test
        self.assertEqual(a_test.attr, 'in module')

src/i/r/ironpython3-HEAD/Src/StdLib/Lib/test/test_namespace_pkgs.py   ironpython3(Download)
    def test_module_before_namespace_package(self):
        # Make sure we find the module in preference to the
        #  namespace package.
        import a_test
        self.assertEqual(a_test.attr, 'in module')