commit | 462d6e6484626ff8b7a79e43f3d6c64e0120bdf9 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue May 20 19:32:22 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue May 20 19:32:22 1997 +0000 |
tree | ae8b00cd385fc4fc7c2d7515f7c74790232580f9 | |
parent | 6308d510e954ad1076b579d91e42874de6a0bcde [diff] |
More robust way of choosing a non-existant uid (faster, too). (Correct version -- the previous checkin was a keyboard slip.)
diff --git a/Lib/test/test_pwd.py b/Lib/test/test_pwd.py index 2fc8da8..d900686 100644 --- a/Lib/test/test_pwd.py +++ b/Lib/test/test_pwd.py
@@ -62,7 +62,7 @@ # Choose a non-existant uid. fakeuid = 4127 while byuids.has_key(fakeuid): - print 'fakeuid =', fakeuid + fakeuid = (fakeuid * 3) % 0x10000 try: pwd.getpwuid(fakeuid)