diff options
| author | Stefan Brand <stefan.brand@eox.at> | 2023-02-17 09:38:39 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2023-02-17 19:57:34 +0100 |
| commit | 341f33ed157809906b7c4b4ee59d8f11e84462ee (patch) | |
| tree | 885a9c83109d3bbac1a7e502eaea425380c86b3e /tests/postgres_tests/test_array.py | |
| parent | 610cd06c3ffe9ef49554f7f7b1f9ff4aa9c2b879 (diff) | |
[4.2.x] Refs #34302 -- Fixed SpatialReference.auth_name()/auth_code() when target is None.
force_bytes() turns None into the byte string b"None". Since
ctypes.c_char_p() also accepts None, we can bypass force_bytes() if
target is None.
Backport of d77762de038d1ab46cdcda2b7202d36c80956e25 from main
Diffstat (limited to 'tests/postgres_tests/test_array.py')
0 files changed, 0 insertions, 0 deletions
