mail[bug #22801] Failure of the relax test suite on Python 2.5.


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d Auvergne on October 15, 2014 - 18:08:
Update of bug #22801 (project relax):

                  Status:                   Fixed => In Progress            
             Open/Closed:                  Closed => Open                   

    _______________________________________________________

Follow-up Comment #3:

I'm reopening this bug as it is still present and still fatal for Python 2.5:

[edward@localhost relax-trunk]$ python2.5 relax -s --time
/data/relax/relax-trunk/test_suite/system_tests/relax_disp.py:1753: Warning:
'with' will become a reserved keyword in Python 2.6
Traceback (most recent call last):
  File "/data/relax/relax-trunk/multi/processor.py", line 494, in run
    self.callback.init_master(self)
  File "/data/relax/relax-trunk/multi/__init__.py", line 318, in
default_init_master
    self.master.run()
  File "/data/relax/relax-trunk/relax.py", line 234, in run
    from test_suite.test_suite_runner import Test_suite_runner
  File "/data/relax/relax-trunk/test_suite/test_suite_runner.py", line 37, in
<module>
    from test_suite.gui_tests import GUI_test_runner
  File "/data/relax/relax-trunk/test_suite/gui_tests/__init__.py", line 34, in
<module>
    from test_suite.gui_tests.bmrb import Bmrb
  File "/data/relax/relax-trunk/test_suite/gui_tests/bmrb.py", line 31, in
<module>
    from test_suite import system_tests
  File "/data/relax/relax-trunk/test_suite/system_tests/__init__.py", line 61,
in <module>
    from test_suite.system_tests.relax_disp import Relax_disp
  File "/data/relax/relax-trunk/test_suite/system_tests/relax_disp.py", line
1753
     with self.assertRaises(RelaxError):
             ^
 SyntaxError: invalid syntax


Blacklisting the bug does not make invalid code hidden, as the Python
interpreter will still load the source code of that blacklisted test and
compile it.  The with statement must go.  The solution given at
http://thread.gmane.org/gmane.science.nmr.relax.scm/24011/focus=7229 must be
implemented.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?22801>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Thu Oct 23 12:20:15 2014