[Python-Dev] test_pwd is really slow

Jeremy Hylton jhylton at gmail.com
Mon Jul 12 14:37:21 CEST 2004


I've been having trouble running the tests lately, because test_pwd is
really slow.  It's a fairly trivial set of tests -- checking the types
of return values and cross-checking getpwall() vs.
getpwnam()/getpwuid().  The problem is if your password database is
provided by LDAP and is really big, the test takes an impractically
long time.

Would anyone object if I changed the test suite to require some
resource to run test_pwd?  Or should I just make some local change to
disable it?

Jeremy


More information about the Python-Dev mailing list