def METHOD_NAME(self):
    try:
        with self.assertWarns(DeprecationWarning):
            from super_gradients.training.models import BasicBlock, BasicResNetBlock  # noqa
            assert isinstance(BasicBlock(1, 1, 1), BasicResNetBlock)
    except ImportError:
        self.fail("ImportError raised unexpectedly for BasicBlock")