URL: <http://gna.org/bugs/?22801> Summary: Failure of the relax test suite on Python 2.5. Project: relax Submitted by: bugman Submitted on: Mon 13 Oct 2014 02:28:30 PM UTC Category: Test suite Specific analysis category: None Priority: 7 - High Severity: 5 - Blocker Status: None Assigned to: tlinnet Originator Name: Originator Email: Open/Closed: Open Release: 3.3.1 Discussion Lock: Any Operating System: All systems _______________________________________________________ Details: In a number of places in the relax test suite, the 'with self.assertRaises():' logic has been recently added: [edward@localhost relax-trunk]$ grep -r "with self.assert" test_suite/ test_suite/system_tests/relax_disp.py: with self.assertRaises(RelaxError): test_suite/system_tests/relax_disp.py: with self.assertRaises(RelaxError): test_suite/system_tests/relax_disp.py: with self.assertRaises(RelaxError): [edward@localhost relax-trunk]$ This is however fatal for Python 2.5 and 2.6. This is the conversion of this method into a 'context manager' <https://docs.python.org/2/library/unittest.html#unittest.TestCase.assertRaises>. The bug causes the devel_scripts/python_multiversion_test_suite.py script to hardlock on Python 2.5, blocking the testing of Python 2.6, 2.7, 3.0, 3.1, 3.2, 3.3, and 3.4 (earlier Python versions between 1.0 and 2.4 fail before reaching the hardlock). As many relax users still use Python 2.5 and 2.6, due to servers using long term service RHEL or other releases, this target must be adhered too. I do not know how to work around this issue, but it needs to be fixed urgently so that a functional relax 3.3.2 version for older Python versions can be released before users start complaining. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?22801> _______________________________________________ Message sent via/by Gna! http://gna.org/