Commit 06ddc895 authored by jim's avatar jim

Made a test work with different Python versions.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@88594 62d5b8a3-27da-0310-9561-8e5933582275
parent 362d91d5
...@@ -2433,7 +2433,10 @@ def pyc_and_pyo_files_have_correct_paths(): ...@@ -2433,7 +2433,10 @@ def pyc_and_pyo_files_have_correct_paths():
/sample-buildout/eggs/demo-0.4c1-py2.4.egg/eggrecipedemo.py /sample-buildout/eggs/demo-0.4c1-py2.4.egg/eggrecipedemo.py
/sample-buildout/eggs/demoneeded-1.2c1-py2.4.egg/eggrecipedemoneeded.py /sample-buildout/eggs/demoneeded-1.2c1-py2.4.egg/eggrecipedemoneeded.py
>>> ls('eggs', 'demoneeded-1.2c1-py2.4.egg') >>> import os
>>> for name in os.listdir('eggs'):
... if name.startswith('demoneeded'):
... ls('eggs', name)
d EGG-INFO d EGG-INFO
- eggrecipedemoneeded.py - eggrecipedemoneeded.py
- eggrecipedemoneeded.pyc - eggrecipedemoneeded.pyc
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment