# fixhunt regression fixture: ruff UP005, ruff 0.17.1 # the fix labelled safe changes the program's output on this program # before the fix: stdout "Custom assertEquals called with 1 1", exit 0 # after the fix: no stdout, exit 0 # finding 2026-10-17T21-11-13-477Z-9jdd-ruff-UP005/r1-p004; rule fired 1 time(s) before the fix import unittest class CustomTestCase(unittest.TestCase): def assertEquals(self, a, b): print('Custom assertEquals called with', a, b) class Test(CustomTestCase): def test(self): self.assertEquals(1, 1) Test().test()