tests/test_lib_utils.py
branchpy33
changeset 3723 99aa837b6703
parent 3668 d8a42e00c079
child 3823 c8133d91487a
--- a/tests/test_lib_utils.py	Sun Feb 17 12:13:56 2013 +0000
+++ b/tests/test_lib_utils.py	Tue Apr 30 14:28:14 2013 +0100
@@ -115,8 +115,8 @@
 
     def test10(self):
         "test open and read of a simple relative file"
-        from reportlab.lib.utils import open_and_read, getStringIO
-        b = getStringIO(_rel_open_and_read('../docs/images/Edit_Prefs.gif'))
+        from reportlab.lib.utils import open_and_read, getBytesIO
+        b = getBytesIO(_rel_open_and_read('../docs/images/Edit_Prefs.gif'))
         b = open_and_read(b)