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
3248cf71
Commit
3248cf71
authored
Dec 18, 2012
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Relax test when WITH_PYMALLOC is false or undefined.
parent
e59bc521
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
Lib/test/test_sys.py
Lib/test/test_sys.py
+4
-1
No files found.
Lib/test/test_sys.py
View file @
3248cf71
...
...
@@ -623,7 +623,10 @@ class SysModuleTest(unittest.TestCase):
if
with_pymalloc
:
self
.
assertGreater
(
a
,
0
)
else
:
self
.
assertEqual
(
a
,
0
)
# When WITH_PYMALLOC isn't available, we don't know anything
# about the underlying implementation: the function might
# return 0 or something greater.
self
.
assertGreaterEqual
(
a
,
0
)
try
:
# While we could imagine a Python session where the number of
# multiple buffer objects would exceed the sharing of references,
...
...
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