Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] gunittest.TestCase.assertRasterMinMax TypeError if range is NULL #3241

Open
marisn opened this issue Nov 16, 2023 · 0 comments · May be fixed by #5440
Open

[Bug] gunittest.TestCase.assertRasterMinMax TypeError if range is NULL #3241

marisn opened this issue Nov 16, 2023 · 0 comments · May be fixed by #5440
Labels
bug Something isn't working Python Related code is in Python

Comments

@marisn
Copy link
Contributor

marisn commented Nov 16, 2023

Tested with GRASS 8.4.0dev (2023)

r.info map=ccc.1 -r
min=NULL
max=NULL
File "etc/python/grass/gunittest/case.py", line 533, in assertRasterMinMax
    if refmin > actual["min"]:
       ^^^^^^^^^^^^^^^^^^^^^^
TypeError: '>' not supported between instances of 'int' and 'str'
@marisn marisn added bug Something isn't working Python Related code is in Python labels Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Python Related code is in Python
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant