SIGN IN SIGN UP

Migrate transforms tests to pytest style (#1989)

Convert test_gaussian_blur.py, test_jigsaw.py and test_Solarize.py from
unittest.TestCase to plain pytest-style classes, following the pattern in
tests/loss/test_ibot_loss.py:

- Drop the unittest.TestCase base class and unittest import
- Replace manual width/height loops with pytest.mark.parametrize
- Convert the two deprecation tests to 'with pytest.warns(DeprecationWarning)';
  they previously called self.assertWarns without a with block, which asserts
  nothing, so they now actually verify the warning is raised

Transforms group of #1987.

Co-authored-by: fruet <90271657+gabrielfruet@users.noreply.github.com>
J
Jayashanker Padishala committed
df3677c44abc5ca7048cfa40a1b3f3a89cd7c505
Parent: 7e26bad
Committed by GitHub <noreply@github.com> on 7/28/2026, 9:00:59 PM