def test_mnist_no_transforms(self):
        """check properties we need from the data for testing."""
        dataset = dummy_image_dataset()
        x, y = dataset[0]
        self.assertIsInstance(x, Image)
        self.assertEqual([x.width, x.height], [28, 28])
        self.assertIsInstance(y, int)
check properties we need from the data for testing.
tests/benchmarks/utils/test_avalanche_dataset.py