Opened 9 years ago
Closed 5 years ago
#27450 closed Bug (invalid)
GDALBandTests.test_band_data test failure on MacOS 10.12.1 and python3.5
| Reported by: | Olivier Tabone | Owned by: | nobody |
|---|---|---|---|
| Component: | GIS | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
failing test: test_band_data (gis_tests.gdal_tests.test_raster.GDALBandTests)
interestingly the test pass with python 2.7 on the same machine.
lib versions, installed with mac ports
- gal 2.1.1
- geos 3.6.0
- python 3.5.2
======================================================================
FAIL: test_band_data (gis_tests.gdal_tests.test_raster.GDALBandTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 58, in testPartExecutor
yield
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 600, in run
testMethod()
File "/Users/olivier/dev/sprints/django-olibook/tests/gis_tests/gdal_tests/test_raster.py", line 350, in test_band_data
self.assertTrue(os.path.isfile(pam_file))
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/unittest/case.py", line 677, in assertTrue
raise self.failureException(msg)
AssertionError: False is not true
----------------------------------------------------------------------
Change History (4)
comment:1 by , 9 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
comment:2 by , 9 years ago
| Resolution: | duplicate |
|---|---|
| Status: | closed → new |
This is actually a different issue, sorry. It might be related to #27399 though.
comment:3 by , 9 years ago
| Summary: | GIS tests failure on MacOS 10.12.1 and python3.5 → GDALBandTests.test_band_data test failure on MacOS 10.12.1 and python3.5 |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:4 by , 5 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
I cannot reproduce this issue on the current master (a492ccf0bc3da0b99c27b44e491ec3d6aabd5d3f). Moreover Python 3.5 is no longer supported.
Closing unless someone can provide a clear path to reproduce this issue.
Note:
See TracTickets
for help on using tickets.
Duplicate of #27399.
A work-around is to install Pillow from source instead of a wheel: