From 95d261e12d1d83847dd7ecb486e175884fa3c3af Mon Sep 17 00:00:00 2001 From: Markus Fritsche Date: Sat, 25 Jul 2026 08:27:50 +0000 Subject: [PATCH] _resolve_test_rel: fix absolute-py regex mis-match on tests/ prefix (fixes #1) The absolute regex r'/[\w./-]+\.py\b' was matching the '/' inside 'tests/test_.py', capturing '/test_.py' instead of the correct 'tests/test_.py'. Fix: - Move the tests/ relative regex above the absolute .py regex so it matches first for any path containing 'tests/' - Add (?