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
28bb572a
Commit
28bb572a
authored
Apr 01, 2002
by
Neal Norwitz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use attributes appropriately
parent
b1295da5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Lib/test/test_hmac.py
Lib/test/test_hmac.py
+1
-1
Lib/test/test_httplib.py
Lib/test/test_httplib.py
+1
-1
No files found.
Lib/test/test_hmac.py
View file @
28bb572a
...
...
@@ -63,7 +63,7 @@ class SanityTestCase(unittest.TestCase):
dig
=
h
.
hexdigest
()
h2
=
h
.
copy
()
except
:
fail
(
"Exception raised during normal usage of HMAC class."
)
self
.
fail
(
"Exception raised during normal usage of HMAC class."
)
class
CopyTestCase
(
unittest
.
TestCase
):
def
test_attributes
(
self
):
...
...
Lib/test/test_httplib.py
View file @
28bb572a
...
...
@@ -8,7 +8,7 @@ class FakeSocket:
def
makefile
(
self
,
mode
,
bufsize
=
None
):
if
mode
!=
'r'
and
mode
!=
'rb'
:
raise
UnimplementedFileMode
()
raise
httplib
.
UnimplementedFileMode
()
return
StringIO
.
StringIO
(
self
.
text
)
# Test HTTP status lines
...
...
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