--
Ticket URL: <https://code.djangoproject.com/ticket/26512>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => niconoe
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/26512#comment:1>
Comment (by niconoe):
Hi, I'm a new contributor and did my best here in my pull request.
In addition to testing the class method, I updated the docstring since it
was outdated and a bit vague IMHO and fixed a small issue with it: when
GDAL was present, the unit was returned as a `float` (seems good), but as
a string when GDAL was unavailable. It's now properly casted to a float in
such cases.
Cricticism is more than welcome!
--
Ticket URL: <https://code.djangoproject.com/ticket/26512#comment:2>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/26512#comment:3>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"23fbd3ff48a90b7e5d373b6fe50b65d1c48dabed" 23fbd3f]:
{{{
#!CommitTicketReference repository=""
revision="23fbd3ff48a90b7e5d373b6fe50b65d1c48dabed"
Fixed #26512 -- Added tests for SpatialRefSysMixin.get_units().
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/26512#comment:4>