diff options
author | Guido van Rossum <guido@python.org> | 1997-05-20 19:32:22 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-05-20 19:32:22 +0000 |
commit | 462d6e6484626ff8b7a79e43f3d6c64e0120bdf9 (patch) | |
tree | ae8b00cd385fc4fc7c2d7515f7c74790232580f9 /Lib/test/test_pwd.py | |
parent | 6308d510e954ad1076b579d91e42874de6a0bcde (diff) | |
download | cpython-git-462d6e6484626ff8b7a79e43f3d6c64e0120bdf9.tar.gz |
More robust way of choosing a non-existant uid (faster, too).
(Correct version -- the previous checkin was a keyboard slip.)
Diffstat (limited to 'Lib/test/test_pwd.py')
-rw-r--r-- | Lib/test/test_pwd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_pwd.py b/Lib/test/test_pwd.py index 2fc8da8a59..d9006861b6 100644 --- a/Lib/test/test_pwd.py +++ b/Lib/test/test_pwd.py @@ -62,7 +62,7 @@ else: # Choose a non-existant uid. fakeuid = 4127 while byuids.has_key(fakeuid): - print 'fakeuid =', fakeuid + fakeuid = (fakeuid * 3) % 0x10000 try: pwd.getpwuid(fakeuid) |