#NEWLINE# def test_do_ext_namespace( self , testdir ) : #NEWLINE# #INDENT# testdir . makeconftest ( "\n            def pytest_namespace():\n                return {'hello': 'world'}\n        " ) #NEWLINE# p = testdir . makepyfile ( '\n            from pytest import hello\n            import pytest\n            def test_hello():\n                assert hello == "world"\n                assert \'hello\' in pytest.__all__\n        ' ) #NEWLINE# reprec = testdir . inline_run ( p ) #NEWLINE# reprec . assertoutcome ( passed = 1 )