Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
======================================================================
FAIL: test_invalid_ipv4_addresses (tests.tools_tests.TestIsIpAddress)
(ip_address='01.02.03.04')
Check with invalid IPv4 addresses.
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\a\pywikibot\pywikibot\tests\tools_tests.py", line 870, in
test_invalid_ipv4_addresses
self.assertFalse(is_ip_address(address))
AssertionError: True is not false
----------------------------------------------------------------------
Ran 1808 tests in 2636.141s
There was an important change:
//Changed in version 3.9.5: Leading zeros are no longer tolerated and are
treated as an error. IPv4 address strings are now parsed as strict as glibc
inet_pton().//
TASK DETAIL
https://phabricator.wikimedia.org/T430144
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]