From 8bde039d2f4aca51d09409f092ea4436692d9d1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 25 Jan 2026 23:00:52 +0200 Subject: [PATCH] test(env): exclude _omp_* Ref https://ohmyposh.dev, https://github.com/JanDeDobbeleer/oh-my-posh/blob/572c99b2ec6a57a18d4a911cf8d577805002811e/src/shell/scripts/omp.bash#L11-L18 --- test/t/conftest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/t/conftest.py b/test/t/conftest.py index 803d57cf69f..940a43f2cd6 100644 --- a/test/t/conftest.py +++ b/test/t/conftest.py @@ -746,7 +746,8 @@ def diff_env(before: List[str], after: List[str], ignore: str): if not re.search(r"^(---|\+\+\+|@@ )", x) # Ignore variables expected to change: and not re.search( - r"^[-+](_|PPID|BASH_REMATCH|(BASH_)?LINENO)=", + # _omp_*: https://ohmyposh.dev + r"^[-+](_|PPID|BASH_REMATCH|(BASH_)?LINENO|_omp_.+)=", x, re.ASCII, )