blob: c95e2f6afd0a5ada3f7b2e8b305b5527a2ffad08 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- tests/utils/botocore/__init__.py.orig 2026-08-03 18:27:57 UTC
+++ tests/utils/botocore/__init__.py
@@ -65,7 +65,7 @@ def skip_unless_has_memory_collection(cls):
indicate that if the platform does not support memory collection
the tests should be skipped.
"""
- if platform.system() not in ['Darwin', 'Linux']:
+ if platform.system() not in ['Darwin', 'Linux', 'FreeBSD']:
return unittest.skip('Memory tests only supported on mac/linux.')(cls)
return cls
@@ -80,7 +80,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
|