Commit fcb30dcc authored by Jim Fulton's avatar Jim Fulton

Fixed a fairly egregious bug in the test. Was closing db when meant

to closs connection.  This showed up on windows but not linux or mac
os x. I wonder why.
parent 794fb62b
...@@ -121,7 +121,7 @@ provoke problems: ...@@ -121,7 +121,7 @@ provoke problems:
... data = conn.root()[i].open('c').read() ... data = conn.root()[i].open('c').read()
... if data != chr(i)*100: ... if data != chr(i)*100:
... print 'bad data', `chr(i)`, `data` ... print 'bad data', `chr(i)`, `data`
... db.close() ... conn.close()
>>> threads = [threading.Thread(target=run) for i in range(10)] >>> threads = [threading.Thread(target=run) for i in range(10)]
>>> for thread in threads: >>> for thread in threads:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment