diff test.py @ 17:a0d3e275c885

Updated test to account for some backends returning unicode data and some not.
author mcroydon
date Tue, 25 Aug 2009 21:48:23 +0000
parents 32222d11961f
children
line wrap: on
line diff
--- a/test.py	Tue Aug 25 21:48:20 2009 +0000
+++ b/test.py	Tue Aug 25 21:48:23 2009 +0000
@@ -28,8 +28,8 @@
 1
 
 Read from the queue
->>> q.read()
-'test'
+>>> unicode(q.read())
+u'test'
 
 The queue should now be empty
 Note that SQS doesn't guarantee an accurate count