mailr17637 - /trunk/test_suite/relax_test_runner.py


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

Header


Content

Posted by edward on October 01, 2012 - 22:55:
Author: bugman
Date: Mon Oct  1 22:55:29 2012
New Revision: 17637

URL: http://svn.gna.org/viewcvs/relax?rev=17637&view=rev
Log:
Python 3 - The cStringIO.StringIO import switches to io.StringIO if missing.


Modified:
    trunk/test_suite/relax_test_runner.py

Modified: trunk/test_suite/relax_test_runner.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/relax_test_runner.py?rev=17637&r1=17636&r2=17637&view=diff
==============================================================================
--- trunk/test_suite/relax_test_runner.py (original)
+++ trunk/test_suite/relax_test_runner.py Mon Oct  1 22:55:29 2012
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2008-2011 Edward d'Auvergne                                  
 #
+# Copyright (C) 2008-2012 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax (http://www.nmr-relax.com).         
 #
 #                                                                            
 #
@@ -24,7 +24,7 @@
 try:
     from cStringIO import StringIO
 except ImportError:
-    from StringIO import StringIO
+    from io import StringIO
 import sys
 try:
     from unittest import TextTestResult    # Python 2.7 and above.




Related Messages


Powered by MHonArc, Updated Mon Oct 01 23:20:01 2012