[Checkins] SVN: zc.ngi/trunk/src/zc/ngi/tests.py Threads didn't have name attrs in older pythons
Jim Fulton
jim at zope.com
Thu Jul 2 16:39:07 EDT 2009
Log message for revision 101409:
Threads didn't have name attrs in older pythons
Changed:
U zc.ngi/trunk/src/zc/ngi/tests.py
-=-
Modified: zc.ngi/trunk/src/zc/ngi/tests.py
===================================================================
--- zc.ngi/trunk/src/zc/ngi/tests.py 2009-07-02 20:24:37 UTC (rev 101408)
+++ zc.ngi/trunk/src/zc/ngi/tests.py 2009-07-02 20:39:07 UTC (rev 101409)
@@ -53,7 +53,7 @@
def async_thread_has_name():
"""
- >>> len([t for t in threading.enumerate() if t.name == 'zc.ngi.async'])
+ >>> len([t for t in threading.enumerate() if t.getName() == 'zc.ngi.async'])
1
"""
More information about the Checkins
mailing list