summaryrefslogtreecommitdiff
path: root/test/engine/test_transaction.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2009-08-09 20:50:46 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2009-08-09 20:50:46 +0000
commite7241263aa9db24885b41984b85300178428a60c (patch)
tree7c2e9a8bbab97e390d02b13865db5a68d166995a /test/engine/test_transaction.py
parent7974625e8b86a28f3ac81c3c620df9b2801b133d (diff)
downloadsqlalchemy-e7241263aa9db24885b41984b85300178428a60c.tar.gz
python3k fixes
Diffstat (limited to 'test/engine/test_transaction.py')
-rw-r--r--test/engine/test_transaction.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/engine/test_transaction.py b/test/engine/test_transaction.py
index 8e3f3412d..16f746ea6 100644
--- a/test/engine/test_transaction.py
+++ b/test/engine/test_transaction.py
@@ -818,12 +818,12 @@ class ForUpdateTest(TestBase):
errors, threads = [], []
for i in xrange(thread_count):
- thread = threading.Thread(target=self.overlap,
+ thrd = threading.Thread(target=self.overlap,
args=(groups.pop(0), errors, update_style))
- thread.start()
- threads.append(thread)
- for thread in threads:
- thread.join()
+ thrd.start()
+ threads.append(thrd)
+ for thrd in threads:
+ thrd.join()
return errors