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
5102c4e3
Commit
5102c4e3
authored
Apr 06, 2006
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hopefully this makes test_urllib2 have inconsistent leak results
parent
a1f9b7f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
Lib/test/regrtest.py
Lib/test/regrtest.py
+2
-1
Misc/build.sh
Misc/build.sh
+1
-1
No files found.
Lib/test/regrtest.py
View file @
5102c4e3
...
...
@@ -520,7 +520,7 @@ def runtest(test, generate, verbose, quiet, testdir=None, huntrleaks=False):
import
gc
def
cleanup
():
import
_strptime
,
linecache
,
warnings
,
dircache
import
urlparse
,
urllib
,
urllib2
import
urlparse
,
urllib
,
urllib2
,
mimetypes
from
distutils.dir_util
import
_path_created
_path_created
.
clear
()
warnings
.
filters
[:]
=
fs
...
...
@@ -536,6 +536,7 @@ def runtest(test, generate, verbose, quiet, testdir=None, huntrleaks=False):
sys
.
path_importer_cache
.
update
(
pic
)
dircache
.
reset
()
linecache
.
clearcache
()
mimetypes
.
_default_mime_types
()
if
indirect_test
:
def
run_the_test
():
indirect_test
()
...
...
Misc/build.sh
View file @
5102c4e3
...
...
@@ -60,7 +60,7 @@ REFLOG="build/reflog.txt.out"
# Note: test_XXX (none currently) really leak, but are disabled
# so we don't send spam. Any test which really leaks should only
# be listed here if there are also test cases under Lib/test/leakers.
LEAKY_TESTS
=
"test_(capi|cfgparser|charmapcodec|cmd_line|compiler|ctypes|filecmp|quopri|socket|threaded_import|threadedtempfile|threading|threading_local
|urllib2
)"
LEAKY_TESTS
=
"test_(capi|cfgparser|charmapcodec|cmd_line|compiler|ctypes|filecmp|quopri|socket|threaded_import|threadedtempfile|threading|threading_local)"
# Change this flag to "yes" for old releases to only update/build the docs.
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