Commit 39452f53 authored by Jim Fulton's avatar Jim Fulton

Added a delay to deal with low time resolution on windows, which

addresses some of the windows errors. (I think the remaining failures
here and in dbopen.txt have to do with the way time is used in
management of available connections.)
parent 009fd6f6
......@@ -42,6 +42,14 @@ We'll begin our example with a fairly standard set up. We
>>> import transaction
>>> transaction.commit()
We wait for some ttime to pass, and then make some other changes.
>>> import time
>>> t = time.time()
>>> while time.time <= t:
... time.sleep(.001)
>>> import datetime
>>> now = datetime.datetime.utcnow()
......
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