--- awscli/testutils.py.orig 2026-11-10 19:04:44 UTC +++ awscli/testutils.py @@ -72,7 +72,7 @@ def skip_if_windows(reason): def decorator(func): return unittest.skipIf( - platform.system() not in ['Darwin', 'Linux'], reason + platform.system() not in ['Darwin', 'Linux', 'FreeBSD'], reason )(func) return decorator @@ -802,6 +802,8 @@ def _wait_and_collect_mem(process): if platform.system() == 'Darwin': get_memory = _get_memory_with_ps elif platform.system() == 'Linux': + get_memory = _get_memory_with_ps + elif platform.system() == 'FreeBSD': get_memory = _get_memory_with_ps else: raise ValueError(