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
ef1c8cd2
Commit
ef1c8cd2
authored
Aug 26, 2013
by
Ezio Melotti
Browse files
Options
Browse Files
Download
Plain Diff
#18833: merge with 3.3.
parents
015f84f9
071974b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
Lib/test/test_telnetlib.py
Lib/test/test_telnetlib.py
+8
-0
Misc/ACKS
Misc/ACKS
+1
-0
No files found.
Lib/test/test_telnetlib.py
View file @
ef1c8cd2
...
@@ -75,6 +75,14 @@ class GeneralTests(TestCase):
...
@@ -75,6 +75,14 @@ class GeneralTests(TestCase):
self
.
assertEqual
(
telnet
.
sock
.
gettimeout
(),
30
)
self
.
assertEqual
(
telnet
.
sock
.
gettimeout
(),
30
)
telnet
.
sock
.
close
()
telnet
.
sock
.
close
()
def
testGetters
(
self
):
# Test telnet getter methods
telnet
=
telnetlib
.
Telnet
(
HOST
,
self
.
port
,
timeout
=
30
)
t_sock
=
telnet
.
sock
self
.
assertEqual
(
telnet
.
get_socket
(),
t_sock
)
self
.
assertEqual
(
telnet
.
fileno
(),
t_sock
.
fileno
())
telnet
.
sock
.
close
()
class
SocketStub
(
object
):
class
SocketStub
(
object
):
''' a socket proxy that re-defines sendall() '''
''' a socket proxy that re-defines sendall() '''
def
__init__
(
self
,
reads
=
()):
def
__init__
(
self
,
reads
=
()):
...
...
Misc/ACKS
View file @
ef1c8cd2
...
@@ -1324,6 +1324,7 @@ Norman Vine
...
@@ -1324,6 +1324,7 @@ Norman Vine
Pauli Virtanen
Pauli Virtanen
Frank Visser
Frank Visser
Johannes Vogel
Johannes Vogel
Alex Volkov
Martijn Vries
Martijn Vries
Sjoerd de Vries
Sjoerd de Vries
Niki W. Waibel
Niki W. Waibel
...
...
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