diff options
Diffstat (limited to 'setuptools/tests/test_develop.py')
-rw-r--r-- | setuptools/tests/test_develop.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/setuptools/tests/test_develop.py b/setuptools/tests/test_develop.py index fb8e0e3f..9d749606 100644 --- a/setuptools/tests/test_develop.py +++ b/setuptools/tests/test_develop.py @@ -140,10 +140,10 @@ class TestNamespaces: setup_py.write_text(script, encoding='utf-8') ns_pkg_dir = src_dir / namespace ns_pkg_dir.mkdir() - pkg_init = ns_pkg_dir / '__init__.py' - tmpl = '__import__("pkg_resources").declare_namespace({namespace!r})' - decl = tmpl.format(**locals()) - pkg_init.write_text(decl, encoding='utf-8') + #pkg_init = ns_pkg_dir / '__init__.py' + #tmpl = '__import__("pkg_resources").declare_namespace({namespace!r})' + #decl = tmpl.format(**locals()) + #pkg_init.write_text(decl, encoding='utf-8') pkg_mod = ns_pkg_dir / (rest + '.py') some_functionality = 'name = {rest!r}'.format(**locals()) pkg_mod.write_text(some_functionality, encoding='utf-8') |