[New-bugs-announce] [issue5696] test_telnetlib augmentation

Jack Diederich report at bugs.python.org
Sun Apr 5 03:46:02 CEST 2009


New submission from Jack Diederich <jackdied at gmail.com>:

The first part of my telnetlib work is testing what already is. 
Attached is a patch to test_telnetlib that tests mosts of the guarantees
of the telnetlib.Telnet.read_* methods (as guaranteed by the docs, at
least).

Theoretically every test I added has a race condition.
ReadTests.blocking_timeout is currently set to 0.1 seconds and works on
my platform (it also works at 0.0 seconds).  Is this acceptable or do I
need to include semaphores will 100% predictable behavior?

TIA

----------
assignee: jackdied
files: test_telnetlib.patch
keywords: patch
messages: 85460
nosy: jackdied
severity: normal
status: open
title: test_telnetlib augmentation
Added file: http://bugs.python.org/file13617/test_telnetlib.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5696>
_______________________________________


More information about the New-bugs-announce mailing list