[GRASS-git] [OSGeo/grass] 9420d0: grass.gunittest: Fix parsing exclusion from config...

Edouard Choinière noreply at github.com
Wed Sep 18 10:03:13 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 9420d00ea851c6c089b39d450e31bd4c8cab841e
      https://github.com/OSGeo/grass/commit/9420d00ea851c6c089b39d450e31bd4c8cab841e
  Author: Edouard Choinière <27212526+echoix at users.noreply.github.com>
  Date:   2024-09-18 (Wed, 18 Sep 2024)

  Changed paths:
    M python/grass/gunittest/loader.py

  Log Message:
  -----------
  grass.gunittest: Fix parsing exclusion from config file on Windows (#4324)

* grass.gunittest: Ensure file list exists before processing exclusions

* grass.gunittest: Use pathlib.Path to handle test files across platforms

* grass.gunittest: Use pathlib.PurePath instead of concrete pathlib.Path

* grass.gunittest: Also use pathlib.PurePath for patterns

* grass.gunittest: Simplify pathlib filtering using a set comprehension

* grass.gunittest: Add typing to fnmatch_exclude_with_base signature

* style: Sort imports with isort

* Add Edouard Choinière (echoix) to the authors

* Fix typo in comment

* grass.gunittest: Filter file list respecting all three filter arguments if specified

* grass.gunittest: Change set comprehension variable name



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications


More information about the grass-commit mailing list