Skip to content

Commit

Permalink
jpegxl.py: Minor cleanup. (OSGeo#11854)
Browse files Browse the repository at this point in the history
- Remove extra empty lines
- Rename `outfilename` and `tmpfilename` -> `filename`
- Rename `/vsimem/out.jxl` to be specific to each test function
- Use `with open()` to load data with `.read()`
- Fix spelling: `withing` -> `within`
- Add a comment explaining the double run in `test_jpegxl_rasterio()`
- Uses tmp_vsimem

Fixes OSGeo#11833

Co-authored-by: Even Rouault <even.rouault@spatialys.com>
  • Loading branch information
schwehr and rouault authored Feb 17, 2025
1 parent af5e6c2 commit 4121bb8
Showing 1 changed file with 109 additions and 192 deletions.
Loading

0 comments on commit 4121bb8

Please sign in to comment.