summaryrefslogtreecommitdiff
path: root/Lib/test/test_pwd.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-05-20 19:32:22 +0000
committerGuido van Rossum <guido@python.org>1997-05-20 19:32:22 +0000
commit462d6e6484626ff8b7a79e43f3d6c64e0120bdf9 (patch)
treeae8b00cd385fc4fc7c2d7515f7c74790232580f9 /Lib/test/test_pwd.py
parent6308d510e954ad1076b579d91e42874de6a0bcde (diff)
downloadcpython-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.py2
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)