(*args, **kwargs)
| 71 | |
| 72 | def patch(func): |
| 73 | def patched_func(*args, **kwargs): |
| 74 | name = kwargs.get('name', args[0]) |
| 75 | if name.startswith('array_record'): |
| 76 | pytest.skip( |
| 77 | reason=( |
| 78 | 'ArrayRecord file format is not supported on your platform,' |
| 79 | ' skipping affected tests.' |
| 80 | ), |
| 81 | ) |
| 82 | return func(*args, **kwargs) |
| 83 | |
| 84 | return patched_func |
| 85 |