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
91823c74
Commit
91823c74
authored
Jul 11, 2008
by
Josiah Carlson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed test for asyncore.
parent
c31bc9a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Lib/test/test_asyncore.py
Lib/test/test_asyncore.py
+3
-3
No files found.
Lib/test/test_asyncore.py
View file @
91823c74
...
...
@@ -39,7 +39,7 @@ class exitingdummy:
raise
asyncore
.
ExitNow
()
handle_write_event
=
handle_read_event
handle_close
_event
=
handle_read_event
handle_close
=
handle_read_event
handle_expt_event
=
handle_read_event
class
crashingdummy
:
...
...
@@ -50,7 +50,7 @@ class crashingdummy:
raise
Exception
()
handle_write_event
=
handle_read_event
handle_close
_event
=
handle_read_event
handle_close
=
handle_read_event
handle_expt_event
=
handle_read_event
def
handle_error
(
self
):
...
...
@@ -129,7 +129,7 @@ class HelperFunctionTests(unittest.TestCase):
def
handle_write_event
(
self
):
self
.
write
=
True
def
handle_close
_event
(
self
):
def
handle_close
(
self
):
self
.
closed
=
True
def
handle_expt_event
(
self
):
...
...
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