diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-06-11 17:27:50 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-06-11 17:27:50 (GMT) |
commit | 0fbcf6945584b1b2a7564680de50c062fc4dce1c (patch) | |
tree | 44d27858990999b69379b50abc5ad163789db6fc /Lib/test/test_smtplib.py | |
parent | 32c2e41c82c2d0f967a0f435f88168583218f262 (diff) | |
download | cpython-0fbcf6945584b1b2a7564680de50c062fc4dce1c.zip cpython-0fbcf6945584b1b2a7564680de50c062fc4dce1c.tar.gz cpython-0fbcf6945584b1b2a7564680de50c062fc4dce1c.tar.bz2 |
give the threading API PEP 8 names
Diffstat (limited to 'Lib/test/test_smtplib.py')
-rw-r--r-- | Lib/test/test_smtplib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_smtplib.py b/Lib/test/test_smtplib.py index be28de7..7caa8a7 100644 --- a/Lib/test/test_smtplib.py +++ b/Lib/test/test_smtplib.py @@ -109,7 +109,7 @@ def debugging_server(serv, serv_evt, client_evt): # when the client conversation is finished, it will # set client_evt, and it's then ok to kill the server - if client_evt.isSet(): + if client_evt.is_set(): serv.close() break @@ -118,7 +118,7 @@ def debugging_server(serv, serv_evt, client_evt): except socket.timeout: pass finally: - if not client_evt.isSet(): + if not client_evt.is_set(): # allow some time for the client to read the result time.sleep(0.5) serv.close() |