-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve some code comments, refactor some code, mention length checks…
… in the README
- Loading branch information
Showing
4 changed files
with
111 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -330,9 +330,9 @@ def test_domain_literal(): | |
('[email protected]', 'The part after the @-sign is not valid IDNA (Invalid A-label).'), | ||
('[email protected]', 'An email address cannot have two letters followed by two dashes immediately after the @-sign or after a period, except Punycode.'), | ||
('me@yy--0.tld', 'An email address cannot have two letters followed by two dashes immediately after the @-sign or after a period, except Punycode.'), | ||
('me@[127.0.0.1]', 'A bracketed IPv4 address after the @-sign is not allowed here.'), | ||
('me@[127.0.0.1]', 'A bracketed IP address after the @-sign is not allowed here.'), | ||
('me@[127.0.0.999]', 'The address in brackets after the @-sign is not valid: It is not an IPv4 address (Octet 999 (> 255) not permitted in \'127.0.0.999\') or is missing an address literal tag.'), | ||
('me@[IPv6:::1]', 'A bracketed IPv6 address after the @-sign is not allowed here.'), | ||
('me@[IPv6:::1]', 'A bracketed IP address after the @-sign is not allowed here.'), | ||
('me@[IPv6:::G]', 'The IPv6 address in brackets after the @-sign is not valid (Only hex digits permitted in \'G\' in \'::G\').'), | ||
('me@[tag:text]', 'The part after the @-sign contains an invalid address literal tag in brackets.'), | ||
('me@[untaggedtext]', 'The part after the @-sign in brackets is not an IPv4 address and has no address literal tag.'), | ||
|