summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_venv.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-30 21:11:46 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-30 21:11:46 (GMT)
commit53b1c24f54d43c0815108b77ec931ad37d28aa87 (patch)
tree5f14ce98dbc0279d01f83c693cf38b89b0f116af /Lib/test/test_venv.py
parent893c7e782927f0282ae371f0a48505be66f32193 (diff)
parentef1f777e0a1391771b6b3637ed308643528b3d4a (diff)
downloadcpython-53b1c24f54d43c0815108b77ec931ad37d28aa87.zip
cpython-53b1c24f54d43c0815108b77ec931ad37d28aa87.tar.gz
cpython-53b1c24f54d43c0815108b77ec931ad37d28aa87.tar.bz2
Issue #18224: Updated test.
Diffstat (limited to 'Lib/test/test_venv.py')
-rw-r--r--Lib/test/test_venv.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_venv.py b/Lib/test/test_venv.py
index 2a528c9..dbbe157 100644
--- a/Lib/test/test_venv.py
+++ b/Lib/test/test_venv.py
@@ -23,12 +23,10 @@ class BaseTest(unittest.TestCase):
self.env_dir = os.path.realpath(tempfile.mkdtemp())
if os.name == 'nt':
self.bindir = 'Scripts'
- self.pydocname = 'pydoc.py'
self.lib = ('Lib',)
self.include = 'Include'
else:
self.bindir = 'bin'
- self.pydocname = 'pydoc'
self.lib = ('lib', 'python%s' % sys.version[:3])
self.include = 'include'
if sys.platform == 'darwin' and '__PYVENV_LAUNCHER__' in os.environ:
@@ -78,8 +76,6 @@ class BasicTest(BaseTest):
executable = sys.executable
path = os.path.dirname(executable)
self.assertIn('home = %s' % path, data)
- data = self.get_text_file_contents(self.bindir, self.pydocname)
- self.assertTrue(data.startswith('#!%s%s' % (self.env_dir, os.sep)))
fn = self.get_env_file(self.bindir, self.exe)
if not os.path.exists(fn): # diagnostics for Windows buildbot failures
bd = self.get_env_file(self.bindir)