[New-bugs-announce] [issue5424] Packed IPaddr conversion tests should be extended

Philipp Hagemeister report at bugs.python.org
Thu Mar 5 14:37:17 CET 2009


New submission from Philipp Hagemeister <phihag at phihag.de>:

Currently, the testStringToIPv6 and testIPv6ToStrings tests in
Lib/test/test_socket.py only check for variants 1 and 2 (but not 3) from
RFC 4291 2.2.

Furthermore, there are no assertions that check wrong inputs are
appropriately refused in any of the packed IP conversion tests.

The attached patch adds a number of assertions covering those.

----------
components: Tests
files: extend-packed-ip-tests-trunk2.x.diff
keywords: patch
messages: 83195
nosy: phihag
severity: normal
status: open
title: Packed IPaddr conversion tests should be extended
type: feature request
versions: Python 2.7, Python 3.1
Added file: http://bugs.python.org/file13247/extend-packed-ip-tests-trunk2.x.diff

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


More information about the New-bugs-announce mailing list