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
f0bc645d
Commit
f0bc645d
authored
Feb 13, 2018
by
INADA Naoki
Committed by
GitHub
Feb 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bpo-31787: Skip refleak check when _hashlib is not available (GH-5660)
parent
2b77a921
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
Lib/test/test_hashlib.py
Lib/test/test_hashlib.py
+1
-0
No files found.
Lib/test/test_hashlib.py
View file @
f0bc645d
...
...
@@ -163,6 +163,7 @@ class HashLibTestCase(unittest.TestCase):
return
itertools
.
chain
.
from_iterable
(
constructors
)
@
support
.
refcount_test
@
unittest
.
skipIf
(
c_hashlib
is
None
,
'Require _hashlib module'
)
def
test_refleaks_in_hash___init__
(
self
):
gettotalrefcount
=
support
.
get_attribute
(
sys
,
'gettotalrefcount'
)
sha1_hash
=
c_hashlib
.
new
(
'sha1'
)
...
...
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