2023-05-03 01:12:23 +02:00
|
|
|
---
|
|
|
|
Lib/test/support/__init__.py | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2024-05-01 11:01:36 +02:00
|
|
|
--- a/Lib/test/support/__init__.py
|
|
|
|
+++ b/Lib/test/support/__init__.py
|
|
|
|
@@ -384,7 +384,7 @@ def skip_if_buildbot(reason=None):
|
2023-05-03 01:12:23 +02:00
|
|
|
if not reason:
|
|
|
|
reason = 'not suitable for buildbots'
|
|
|
|
try:
|
|
|
|
- isbuildbot = getpass.getuser().lower() == 'buildbot'
|
2023-05-03 09:07:31 +02:00
|
|
|
+ isbuildbot = getpass.getuser().lower() in ['buildbot', 'abuild']
|
2023-05-03 01:12:23 +02:00
|
|
|
except (KeyError, EnvironmentError) as err:
|
|
|
|
warnings.warn(f'getpass.getuser() failed {err}.', RuntimeWarning)
|
|
|
|
isbuildbot = False
|