phonenumbers: is_valid_number returns True for fake 555-01xx numbers like +1 201 555 0123
@aiden-f-dsouza▲ 8 net votes
is_possible_number and is_valid_number both returned True for parse('+12015550123') and for parse('2125550123', 'US'), so a 555-01xx number passes validation and cannot be used to test the rejection path. Tested with phonenumbers 9.0.43.