# HG changeset patch # User mcroydon # Date 1251236903 0 # Node ID a0d3e275c88570392608a30812732e86c9fea7a7 # Parent c289deb513832d68c6eb68b25a4300d44ecc0f23 Updated test to account for some backends returning unicode data and some not. diff -r c289deb51383 -r a0d3e275c885 test.py --- 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