summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_easy_install.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-07-13 11:40:24 -0700
committerGitHub <noreply@github.com>2016-07-13 11:40:24 -0700
commit45de6ea8b9392771a6a14e012605614a7c148506 (patch)
tree3e4da3d54bbaf13ce12f706b727b6dc05927a931 /setuptools/tests/test_easy_install.py
parentae285153bcd229236bbb8ecbf94ab803213ec82e (diff)
parent6d11e88f938f09ef16db4c6064b6e74acba4db1d (diff)
downloadpython-setuptools-git-45de6ea8b9392771a6a14e012605614a7c148506.tar.gz
Merge pull request #632 from stepshal/blank_lines
Fix quantity of blank lines after code object.
Diffstat (limited to 'setuptools/tests/test_easy_install.py')
-rw-r--r--setuptools/tests/test_easy_install.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/setuptools/tests/test_easy_install.py b/setuptools/tests/test_easy_install.py
index fd06b6ef..894c4fd8 100644
--- a/setuptools/tests/test_easy_install.py
+++ b/setuptools/tests/test_easy_install.py
@@ -41,6 +41,7 @@ from .textwrap import DALS
class FakeDist(object):
+
def get_entry_map(self, group):
if group != 'console_scripts':
return {}
@@ -55,6 +56,7 @@ SETUP_PY = DALS("""
setup(name='foo')
""")
+
class TestEasyInstallTest:
def test_install_site_py(self, tmpdir):
@@ -133,6 +135,7 @@ class TestEasyInstallTest:
class TestPTHFileWriter:
+
def test_add_from_cwd_site_sets_dirty(self):
'''a pth file manager should set dirty
if a distribution is in site but also the cwd
@@ -266,6 +269,7 @@ def distutils_package():
class TestDistutilsPackage:
+
def test_bdist_egg_available_on_distutils_pkg(self, distutils_package):
run_setup('setup.py', ['bdist_egg'])
@@ -557,6 +561,7 @@ class TestScriptHeader:
class TestCommandSpec:
+
def test_custom_launch_command(self):
"""
Show how a custom CommandSpec could be used to specify a #! executable
@@ -601,6 +606,7 @@ class TestCommandSpec:
class TestWindowsScriptWriter:
+
def test_header(self):
hdr = ei.WindowsScriptWriter.get_script_header('')
assert hdr.startswith('#!')