test: update no new API
diff --git a/test/test_iolib.py b/test/test_iolib.py
index 8d76e45..37ee081 100644
--- a/test/test_iolib.py
+++ b/test/test_iolib.py
@@ -63,10 +63,10 @@
self.s.close()
def test_hello_raw(self):
- self.io.write(unicode("hello\n"))
+ self.io.write(r"hello\n")
self.io.flush() # it is buffering. required to get the data out
hello = self.io.readline()
- self.failUnlessEqual(hello, unicode("hello\n"))
+ self.failUnlessEqual(hello, u"hello\n")
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
if __name__ == '__main__':