Opened 3 years ago
Closed 3 years ago
#33292 closed Cleanup/optimization (invalid)
Failing GIS tests with MySQL
Reported by: | David Wyde | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | 3.2 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
With the attached settings.py that sets up a MySQL GIS database, cd tests && python3 runtests.py gis_tests --settings settings
has 5 failures and 2 errors. The output is attached in output.txt.
If USE_TZ = False
, gis_tests.geos_tests.test_geos.GEOSTest.test_emptyCollections
is the only failure.
I came across this while testing https://code.djangoproject.com/ticket/33287, but fixing that doesn't seem to affect this ticket.
Attachments (2)
Change History (3)
by , 3 years ago
Attachment: | settings.py added |
---|
by , 3 years ago
Attachment: | output.txt added |
---|
output of python3 runtests.py gis_tests --settings settings
comment:1 by , 3 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
The Django tests should be run with USE_TZ = False
that's why it's included in the test_sqlite.py, see also Using another settings module.
About gis_tests.geos_tests.test_geos.GEOSTest.test_emptyCollections
, it's a bug in GEOS 3.8.0 that was fix in GEOS 3.8.1.
settings.py for
python3 runtests.py gis_tests --settings settings