File python-reconfigure.changes of Package failed_python-reconfigure
Repair actions for failed_python-reconfigure
Root cause:
- The test suite in the reconfigure package called unittest.TestCase.assertEquals, which is not present in newer Python's unittest (renamed to assertEqual). This raised AttributeError and caused 29 test failures during package %check.
Exact modifications made:
1) File modified inside source archive:
   Path in archive: reconfigure-0.1.82/reconfigure/tests/__init__.py
   Change: Added a compatibility shim to alias unittest.TestCase.assertEquals to unittest.TestCase.assertEqual when assertEquals is missing.
   Full new file content:
# reconfigure.tests package initializer
# Provide backwards compatibility for unittest.TestCase.assertEquals (removed in newer Python)
import unittest
# If older tests still call assertEquals, alias it to assertEqual
if not hasattr(unittest.TestCase, 'assertEquals'):
    unittest.TestCase.assertEquals = unittest.TestCase.assertEqual
# package export
__all__ = []
Archive updated:
- reconfigure-0.1.82.tar.gz was repacked in temp_workspace/failed_python-reconfigure with the single-file edit.
Notes:
- This minimal, non-invasive change restores backwards compatibility for tests expecting assertEquals without altering test logic.
- Please re-run the build to verify. If further failures occur, next steps will target specific test cases.
Saved location of this report: temp_workspace/failed_python-reconfigure/python-reconfigure.changes