(guards)
| 1363 | return unittest.skip(msg) |
| 1364 | |
| 1365 | def _parse_guards(guards): |
| 1366 | # Returns a tuple ({platform_name: run_me}, default_value) |
| 1367 | if not guards: |
| 1368 | return ({'cpython': True}, False) |
| 1369 | is_true = list(guards.values())[0] |
| 1370 | assert list(guards.values()) == [is_true] * len(guards) # all True or all False |
| 1371 | return (guards, not is_true) |
| 1372 | |
| 1373 | # Use the following check to guard CPython's implementation-specific tests -- |
| 1374 | # or to run them only on the implementation(s) guarded by the arguments. |
no test coverage detected
searching dependent graphs…