blob: cb0c36eb8b1b2c1358f819073116277de42a24ba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- 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(
|