From 462d6e6484626ff8b7a79e43f3d6c64e0120bdf9 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 20 May 1997 19:32:22 +0000 Subject: [PATCH] More robust way of choosing a non-existant uid (faster, too). (Correct version -- the previous checkin was a keyboard slip.) --- Lib/test/test_pwd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_pwd.py b/Lib/test/test_pwd.py index 2fc8da8a593..d9006861b62 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)