MCPcopy Index your code
hub / github.com/tensorflow/datasets / patched_func

Function patched_func

tensorflow_datasets/conftest.py:73–82  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected