How to use fixtures with `TestCase`

from torch.testing._internal.common_utils import TestCase
from torch.testing._internal.common_device_type import instantiate_device_type_tests

I’m wondering if it is possible to use pytest fixtures while creating test cases using pytorch helper functions.

Are there any other better options (apart from hand-rolling)?