Skip to content

Commit

Permalink
Fix the test to work with Python 2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
gmr committed Apr 29, 2015
1 parent 748e8aa commit a0ff21c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/acceptance/select_adapter_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def begin(self, channel):

def on_queue_declared(self, frame):
for i in range(0, 100):
msg_body = '{}:{}:{}'.format(self.__class__.__name__, i,
time.time())
msg_body = '{0}:{1}:{2}'.format(self.__class__.__name__, i,
time.time())
self.channel.basic_publish('', self.queue_name, msg_body)
self.ctag = self.channel.basic_consume(self.on_message,
queue=self.queue_name,
Expand Down

0 comments on commit a0ff21c

Please sign in to comment.