2023-05-02 23:12:23 +00:00
|
|
|
---
|
|
|
|
|
Lib/test/support/__init__.py | 2 +-
|
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
2025-11-11 22:21:05 +01:00
|
|
|
Index: Python-3.11.14/Lib/test/support/__init__.py
|
|
|
|
|
===================================================================
|
|
|
|
|
--- Python-3.11.14.orig/Lib/test/support/__init__.py 2025-11-11 22:19:19.440964849 +0100
|
|
|
|
|
+++ Python-3.11.14/Lib/test/support/__init__.py 2025-11-11 22:19:39.694606976 +0100
|
|
|
|
|
@@ -394,7 +394,7 @@
|
2023-05-02 23:12:23 +00:00
|
|
|
if not reason:
|
|
|
|
|
reason = 'not suitable for buildbots'
|
|
|
|
|
try:
|
|
|
|
|
- isbuildbot = getpass.getuser().lower() == 'buildbot'
|
2023-05-03 07:07:31 +00:00
|
|
|
+ isbuildbot = getpass.getuser().lower() in ['buildbot', 'abuild']
|
2023-05-02 23:12:23 +00:00
|
|
|
except (KeyError, EnvironmentError) as err:
|
|
|
|
|
warnings.warn(f'getpass.getuser() failed {err}.', RuntimeWarning)
|
|
|
|
|
isbuildbot = False
|