Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
ddda8553
Commit
ddda8553
authored
Mar 17, 2006
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore ctypes leaks, but add a test case so we do not forget.
parent
8749316c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
Lib/test/leakers/test_ctypes.py
Lib/test/leakers/test_ctypes.py
+11
-0
Misc/build.sh
Misc/build.sh
+1
-1
No files found.
Lib/test/leakers/test_ctypes.py
0 → 100644
View file @
ddda8553
# Taken from Lib/ctypes/test/test_keeprefs.py
# When this leak is fixed, remember to remove from Misc/build.sh LEAKY_TESTS.
from
ctypes
import
Structure
,
c_int
def
leak
():
class
POINT
(
Structure
):
_fields_
=
[(
"x"
,
c_int
)]
class
RECT
(
Structure
):
_fields_
=
[(
"ul"
,
POINT
)]
Misc/build.sh
View file @
ddda8553
...
@@ -59,7 +59,7 @@ REFLOG="build/reflog.txt.out"
...
@@ -59,7 +59,7 @@ REFLOG="build/reflog.txt.out"
# test_generators really leaks. Since test_generators probably won't
# test_generators really leaks. Since test_generators probably won't
# be fixed real soon, disable warning about it for now.
# be fixed real soon, disable warning about it for now.
# The entire leak report will be mailed if any test not in this list leaks.
# The entire leak report will be mailed if any test not in this list leaks.
LEAKY_TESTS
=
"test_(capi|cfgparser|charmapcodec|cmd_line|compiler|filecmp|generators|quopri|socket|threaded_import|threadedtempfile|threading|threading_local|urllib2)"
LEAKY_TESTS
=
"test_(capi|cfgparser|charmapcodec|cmd_line|compiler|
ctypes|
filecmp|generators|quopri|socket|threaded_import|threadedtempfile|threading|threading_local|urllib2)"
# Change this flag to "yes" for old releases to just update/build the docs.
# Change this flag to "yes" for old releases to just update/build the docs.
BUILD_DISABLED
=
"no"
BUILD_DISABLED
=
"no"
...
...
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