summaryrefslogtreecommitdiffstats
path: root/Lib/packaging/tests/test_command_build_py.py
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-08 02:06:50 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-06-08 02:06:50 (GMT)
commit04fc999c057dffee882e8711ba28ec51ee092698 (patch)
tree90e782dcec1523b7fb985076cbe88d5b664bec77 /Lib/packaging/tests/test_command_build_py.py
parentef3062f7afec3a6f291050beaa6ef5d56f7047f3 (diff)
downloadcpython-04fc999c057dffee882e8711ba28ec51ee092698.zip
cpython-04fc999c057dffee882e8711ba28ec51ee092698.tar.gz
cpython-04fc999c057dffee882e8711ba28ec51ee092698.tar.bz2
Packaging cleanup: remove use of script_name where obsolete
Diffstat (limited to 'Lib/packaging/tests/test_command_build_py.py')
-rw-r--r--Lib/packaging/tests/test_command_build_py.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/packaging/tests/test_command_build_py.py b/Lib/packaging/tests/test_command_build_py.py
index 49069f5..243a863 100644
--- a/Lib/packaging/tests/test_command_build_py.py
+++ b/Lib/packaging/tests/test_command_build_py.py
@@ -33,9 +33,7 @@ class BuildPyTestCase(support.TempdirManager,
dist = Distribution({"packages": ["pkg"],
"package_dir": sources})
- # script_name need not exist, it just need to be initialized
- dist.script_name = os.path.join(sources, "setup.py")
dist.command_obj["build"] = support.DummyCommand(
force=False,
build_lib=destination,
@@ -89,8 +87,6 @@ class BuildPyTestCase(support.TempdirManager,
dist = Distribution({"packages": ["pkg"],
"package_dir": sources,
"package_data": {"pkg": ["doc/*"]}})
- # script_name need not exist, it just need to be initialized
- dist.script_name = os.path.join(sources, "setup.py")
dist.script_args = ["build"]
dist.parse_command_line()