Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
468eb94a
Commit
468eb94a
authored
Feb 02, 2009
by
Hanno Schlichting
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Synced the versions with the Zope2 buildout
parent
b6205a40
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
setup.py
setup.py
+3
-3
test.py
test.py
+5
-3
No files found.
setup.py
View file @
468eb94a
...
...
@@ -415,12 +415,12 @@ ext_modules = [
Extension
(
"zope.hookable._zope_hookable"
,
[
"zope/hookable/_zope_hookable.c"
]),
Extension
(
"zope.
app.container._zope_app
_container_contained"
,
[
"zope/
app/container/_zope_app
_container_contained.c"
],
Extension
(
"zope.
container._zope
_container_contained"
,
[
"zope/
container/_zope
_container_contained.c"
],
include_dirs
=
[
"."
,
"persistent"
,
"zope/proxy"
,
"zope/
app/
container"
],
"zope/container"
],
depends
=
[
"persistent/cPersistence.h"
,
"zope/proxy/_zope_proxy_proxy.c"
,
...
...
test.py
View file @
468eb94a
...
...
@@ -93,7 +93,7 @@ if ihome:
else
:
defaults
+=
[
'--test-path'
,
shome
]
from
zope.testing
import
testrunner
from
zope.testing
.testrunner
import
options
def
load_config_file
(
option
,
opt
,
config_file
,
*
ignored
):
config_file
=
os
.
path
.
abspath
(
config_file
)
...
...
@@ -101,7 +101,7 @@ def load_config_file(option, opt, config_file, *ignored):
import
Zope2
Zope2
.
configure
(
config_file
)
testrunner
.
setup
.
add_option
(
options
.
setup
.
add_option
(
'--config-file'
,
action
=
"callback"
,
type
=
"string"
,
dest
=
'config_file'
,
callback
=
load_config_file
,
help
=
"""
\
...
...
@@ -112,10 +112,12 @@ def filter_warnings(option, opt, *ignored):
import
warnings
warnings
.
simplefilter
(
'ignore'
,
Warning
,
append
=
True
)
testrunner
.
other
.
add_option
(
options
.
other
.
add_option
(
'--nowarnings'
,
action
=
"callback"
,
callback
=
filter_warnings
,
help
=
"""
\
Install a filter to suppress warnings emitted by code.
"""
)
from
zope.testing
import
testrunner
sys
.
exit
(
testrunner
.
run
(
defaults
))
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