diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-01-14 22:48:58 +0100 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2025-01-15 13:47:22 -0300 |
| commit | 1c29ab24df876c47317713f9dacd5bc51cf90857 (patch) | |
| tree | 1adb802b4163a7698bd1377dcc760cfd882005a7 /tests/template_tests/syntax_tests/test_querystring.py | |
| parent | c81669cb54f964c6e726c7f130211babe93e6991 (diff) | |
[5.1.x] Simplified GeoIP2._query() when passing IPv4Address()/IPv6Address() instances.
There is no need to call validate_ipv46_address() for
ipaddress.IPv4Address()/ipaddress.IPv6Address() instances since this
relies on trying to create these kind objects from strings, so they will
always be valid.
Backport of 0cabed9efa2c7abd1693860069f20ec5db41fcd8 from main.
Diffstat (limited to 'tests/template_tests/syntax_tests/test_querystring.py')
0 files changed, 0 insertions, 0 deletions
