Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos.buildout
Commits
added13d
Commit
added13d
authored
Jun 24, 2012
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another test passing w 3.2
parent
5700ed04
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
12 deletions
+6
-12
src/zc/buildout/tests.py
src/zc/buildout/tests.py
+6
-12
No files found.
src/zc/buildout/tests.py
View file @
added13d
...
...
@@ -2389,23 +2389,17 @@ def pyc_and_pyo_files_have_correct_paths():
>>> write('t.py',
... r'''
... import eggrecipedemo, eggrecipedemoneeded, sys
... sys.stdout.write(eggrecipedemo.main.func_code.co_filename+'\n')
... sys.stdout.write(eggrecipedemoneeded.f.func_code.co_filename+'\n')
... if sys.version_info > (3,):
... code = lambda f: f.__code__
... else:
... code = lambda f: f.func_code
... sys.stdout.write(code(eggrecipedemo.main).co_filename+'\n')
... sys.stdout.write(code(eggrecipedemoneeded.f).co_filename+'\n')
... ''')
>>> print_(system(join('bin', 'py')+ ' t.py'), end='')
/sample-buildout/eggs/demo-0.4c1-py2.4.egg/eggrecipedemo.py
/sample-buildout/eggs/demoneeded-1.2c1-py2.4.egg/eggrecipedemoneeded.py
>>> import os
>>> for name in os.listdir('eggs'):
... if name.startswith('demoneeded'):
... ls('eggs', name)
d EGG-INFO
- eggrecipedemoneeded.py
- eggrecipedemoneeded.pyc
- eggrecipedemoneeded.pyo
"""
def
dont_mess_with_standard_dirs_with_variable_refs
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment