Fixes syntax errors in funtests/transport.py

This commit is contained in:
Ask Solem 2011-09-05 12:55:48 +01:00
parent 1c5f0ecf9f
commit 35d78df332
1 changed files with 3 additions and 3 deletions

View File

@ -289,11 +289,11 @@ class TransportCase(unittest.TestCase):
chanrefs = [] chanrefs = []
try: try:
for i in xrange(100): for i in xrange(100):
channel = conn.channel() channel = conn.channel()
chanrefs.append(weakref.ref(channel)) chanrefs.append(weakref.ref(channel))
channel.close() channel.close()
finally: finally:
conn.close() conn.close()
return chanrefs return chanrefs
for chanref in _createref(): for chanref in _createref():