Author: tlinnet Date: Mon Feb 24 14:20:45 2014 New Revision: 22285 URL: http://svn.gna.org/viewcvs/relax?rev=22285&view=rev Log: Replaced print commands to be compatible with Python 3.x
Regarding bug #21665, (https://gna.org/bugs/?21665) - Running a CPMG analysis with two fields at two delay times. Modified: trunk/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py Modified: trunk/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py?rev=22285&r1=22284&r2=22285&view=diff ============================================================================== --- trunk/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py (original) +++ trunk/test_suite/unit_tests/_specific_analyses/_relax_disp/test_disp_data.py Mon Feb 24 14:20:45 2014 @@ -66,7 +66,7 @@ print("Checking the number of iterations of the loop.") count = 0 for exp_type, frq, ei, mi in loop_exp_frq(return_indices=True): - print exp_type, frq, ei, mi + print(exp_type, frq, ei, mi) count += 1 self.assertEqual(count, 2) @@ -112,7 +112,7 @@ print("Checking the number of iterations of the loop.") count = 0 for exp_type, frq, offset, ei, mi, oi in loop_exp_frq_offset(return_indices=True): - print exp_type, frq, offset, ei, mi, oi + print(exp_type, frq, offset, ei, mi, oi) count += 1 self.assertEqual(count, 2) @@ -162,7 +162,7 @@ print("Checking the number of iterations of the loop.") count = 0 for exp_type, frq, offset, point, ei, mi, oi, di in loop_exp_frq_offset_point(return_indices=True): - print exp_type, frq, offset, point, ei, mi, oi, di + print(exp_type, frq, offset, point, ei, mi, oi, di) count += 1 self.assertEqual(count, 34) @@ -221,7 +221,7 @@ print("Checking the number of iterations of the loop.") count = 0 for exp_type, frq, offset, point, time, ei, mi, oi, di, ti in loop_exp_frq_offset_point_time(return_indices=True): - print exp_type, frq, offset, point, time, ei, mi, oi, di, ti + print(exp_type, frq, offset, point, time, ei, mi, oi, di, ti) count += 1 self.assertEqual(count, 34) _______________________________________________ relax (http://www.nmr-relax.com) This is the relax-commits mailing list relax-commits@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits