Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
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
Gwenaël Samain
cython
Commits
fa91d062
Commit
fa91d062
authored
Nov 02, 2010
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test runner warning in Python 3.2 debug builds
parent
3d280f63
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
runtests.py
runtests.py
+8
-4
No files found.
runtests.py
View file @
fa91d062
...
...
@@ -763,10 +763,14 @@ class FileListExcluder:
def
__init__
(
self
,
list_file
):
self
.
excludes
=
{}
for
line
in
open
(
list_file
).
readlines
():
f
=
open
(
list_file
)
try
:
for
line
in
f
.
readlines
():
line
=
line
.
strip
()
if
line
and
line
[
0
]
!=
'#'
:
self
.
excludes
[
line
.
split
()[
0
]]
=
True
finally
:
f
.
close
()
def
__call__
(
self
,
testname
):
return
testname
in
self
.
excludes
or
testname
.
split
(
'.'
)[
-
1
]
in
self
.
excludes
...
...
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