[GRASS-git] [OSGeo/grass] 952dd7: grass.pygrass: Fix parameter range error reporting...

Vaclav Petras noreply at github.com
Wed May 24 11:26:26 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 952dd715b061e937ace265ed31453608798f6e28
      https://github.com/OSGeo/grass/commit/952dd715b061e937ace265ed31453608798f6e28
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2023-05-24 (Wed, 24 May 2023)

  Changed paths:
    M python/grass/pygrass/modules/interface/parameter.py
    M python/grass/pygrass/modules/interface/testsuite/test_parameter.py

  Log Message:
  -----------
  grass.pygrass: Fix parameter range error reporting (#2817)

This fixes parameter range error, uses f-strings, and adds tests for positive min and max and message text.




More information about the grass-commit mailing list