Commit f012e223 authored by Jim Fulton's avatar Jim Fulton

Made a test work with different Python versions.

parent a2552b7e
...@@ -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