History log of /external/python/cpython3/Lib/test/test_pwd.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fb24eead481a00c9bb86c436461971790fce7937 13-Dec-2016 Xavier de Gaye <xdegaye@users.sourceforge.net> Issue #26856: Fix the tests assuming that the pwd module has getpwall() and
assuming some invariants about uids that are not valid for Android.
/external/python/cpython3/Lib/test/test_pwd.py
38c707e7e0322f9139bb51ad73ede1e3b46985ef 13-Apr-2015 Zachary Ware <zachary.ware@gmail.com> Issue #21741: Update 147 test modules to use test discovery.

I have compared output between pre- and post-patch runs of these tests
to make sure there's nothing missing and nothing broken, on both
Windows and Linux. The only differences I found were actually tests
that were previously *not* run.
/external/python/cpython3/Lib/test/test_pwd.py
9fe6d86709b0e769602ff55a6e5a202c440b9d8a 08-Dec-2013 Zachary Ware <zachary.ware@gmail.com> Issue 19572: More silently skipped tests explicitly skipped.
/external/python/cpython3/Lib/test/test_pwd.py
55e2238272daf0a6b585cf6314abb9fdf768bbde 11-Feb-2013 Serhiy Storchaka <storchaka@gmail.com> Raise KeyError instead of OverflowError when getpwuid's argument is out of
uid_t range.
/external/python/cpython3/Lib/test/test_pwd.py
b24ef1963d737e25882a0e0feb305ece1ecbed29 18-Mar-2010 Collin Winter <collinw@gmail.com> Merged revisions 79044 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r79044 | collin.winter | 2010-03-17 17:10:34 -0700 (Wed, 17 Mar 2010) | 1 line

Make test_pwd more stable in the face of unusual LDAP/NIS/Kerberos deployments (the old test was flaky on Google buildslaves).
........
/external/python/cpython3/Lib/test/test_pwd.py
e96159335f6bb26615b57f880bf90440ed0123e4 24-Jan-2010 Ezio Melotti <ezio.melotti@gmail.com> Merged revisions 77727 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line

use assert[Not]IsInstance where appropriate
........
/external/python/cpython3/Lib/test/test_pwd.py
577473fe687b38c8f01b0c372d6d2563680045b3 19-Jan-2010 Benjamin Peterson <benjamin@python.org> use assert[Not]In where appropriate

A patch from Dave Malcolm.
/external/python/cpython3/Lib/test/test_pwd.py
c9c0f201fed21efcf669dbbf5f923eaf0eeb1db9 01-Jul-2009 Benjamin Peterson <benjamin@python.org> convert old fail* assertions to assert*
/external/python/cpython3/Lib/test/test_pwd.py
a21e4ca3c6dc00b2825e2bb4e77a4aa76d8485f0 01-Apr-2009 R. David Murray <rdmurray@bitdance.com> Merged revisions 70734,70775,70856,70874,70876-70877 via svnmerge

........
r70734 | r.david.murray | 2009-03-30 15:04:00 -0400 (Mon, 30 Mar 2009) | 7 lines

Add import_function method to test.test_support, and modify a number of
tests that expect to be skipped if imports fail or functions don't
exist to use import_function and import_module. The ultimate goal is
to change regrtest to not skip automatically on ImportError. Checking
in now to make sure the buldbots don't show any errors on platforms
I can't direct test on.
........
r70775 | r.david.murray | 2009-03-30 19:05:48 -0400 (Mon, 30 Mar 2009) | 4 lines

Change more tests to use import_module for the modules that
should cause tests to be skipped. Also rename import_function
to the more descriptive get_attribute and add a docstring.
........
r70856 | r.david.murray | 2009-03-31 14:32:17 -0400 (Tue, 31 Mar 2009) | 7 lines

A few more test skips via import_module, and change import_module to
return the error message produced by importlib, so that if an import
in the package whose import is being wrapped is what failed the skip
message will contain the name of that module instead of the name of the
wrapped module. Also fixed formatting of some previous comments.
........
r70874 | r.david.murray | 2009-03-31 15:33:15 -0400 (Tue, 31 Mar 2009) | 5 lines

Improve test_support.import_module docstring, remove
deprecated flag from get_attribute since it isn't likely
to do anything useful.
........
r70876 | r.david.murray | 2009-03-31 15:49:15 -0400 (Tue, 31 Mar 2009) | 4 lines

Remove the regrtest check that turns any ImportError into a skipped test.
Hopefully all modules whose imports legitimately result in a skipped
test have been properly wrapped by the previous commits.
........
r70877 | r.david.murray | 2009-03-31 15:57:24 -0400 (Tue, 31 Mar 2009) | 2 lines

Add NEWS entry for regrtest change.
........
/external/python/cpython3/Lib/test/test_pwd.py
ee8712cda46338d223509cc5751fd36509ad3860 20-May-2008 Benjamin Peterson <benjamin@python.org> #2621 rename test.test_support to test.support
/external/python/cpython3/Lib/test/test_pwd.py
1af737cd1eb80510c573446f7c7906d4ffdd325b 23-Jan-2008 Christian Heimes <christian@cheimes.de> Merged revisions 60176-60209 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk

........
r60178 | georg.brandl | 2008-01-21 22:05:49 +0100 (Mon, 21 Jan 2008) | 2 lines

#1715: include sub-extension modules in pydoc text output.
........
r60179 | georg.brandl | 2008-01-21 22:14:21 +0100 (Mon, 21 Jan 2008) | 2 lines

Add a "const" to make gcc happy.
........
r60180 | georg.brandl | 2008-01-21 22:19:07 +0100 (Mon, 21 Jan 2008) | 2 lines

Add the correct build dir when building with pydebug.
........
r60181 | georg.brandl | 2008-01-21 22:23:15 +0100 (Mon, 21 Jan 2008) | 3 lines

Patch #1720595: add T_BOOL to the range of structmember types.
Patch by Angelo Mottola, reviewed by MvL, tests by me.
........
r60182 | georg.brandl | 2008-01-21 22:28:32 +0100 (Mon, 21 Jan 2008) | 2 lines

Reformat some ugly code.
........
r60187 | brett.cannon | 2008-01-22 00:50:16 +0100 (Tue, 22 Jan 2008) | 4 lines

Make's MAKEFLAGS variable is set to a string containing the single-letter
arguments to Make. This means there are no hyphens. Fix the '-s' check to
silence distutils to now work.
........
r60188 | gregory.p.smith | 2008-01-22 01:19:41 +0100 (Tue, 22 Jan 2008) | 3 lines

accepts and closes issue #1221598: adds an optional callback to ftplib.FTP
storbinary() and storlines() methods.
........
r60189 | gregory.p.smith | 2008-01-22 02:12:02 +0100 (Tue, 22 Jan 2008) | 2 lines

Replace spam.acquire() try: ... finally: spam.release() with "with spam:"
........
r60190 | gregory.p.smith | 2008-01-22 02:20:42 +0100 (Tue, 22 Jan 2008) | 4 lines

- Fix Issue #1703448: A joined thread could show up in the
threading.enumerate() list after the join() for a brief period until
it actually exited.
........
r60193 | georg.brandl | 2008-01-22 08:53:31 +0100 (Tue, 22 Jan 2008) | 2 lines

Fix \xhh specs, #1889.
........
r60198 | christian.heimes | 2008-01-22 16:01:25 +0100 (Tue, 22 Jan 2008) | 1 line

Fixed a missing (X) in define
........
r60199 | christian.heimes | 2008-01-22 16:25:18 +0100 (Tue, 22 Jan 2008) | 2 lines

Don't repeat yourself
Added the macros PyModule_AddIntMacro and PyModule_AddStringMacro. They shorten PyModule_AddIntConstant(m, "AF_INET", AF_INET) to PyModule_AddIntMacro(m, AF_INET)
........
r60201 | raymond.hettinger | 2008-01-22 20:51:41 +0100 (Tue, 22 Jan 2008) | 1 line

Document when to use izip_longest().
........
r60202 | georg.brandl | 2008-01-22 20:56:03 +0100 (Tue, 22 Jan 2008) | 2 lines

Fix for #1087741 patch.
........
r60203 | raymond.hettinger | 2008-01-22 21:18:53 +0100 (Tue, 22 Jan 2008) | 1 line

Give zip() the same guarantee as izip() for left-to-right evaluation.
........
r60204 | raymond.hettinger | 2008-01-22 23:09:26 +0100 (Tue, 22 Jan 2008) | 1 line

Improve variable name in sample code
........
r60205 | gregory.p.smith | 2008-01-23 00:15:34 +0100 (Wed, 23 Jan 2008) | 2 lines

docstring and comment updates suggested by Giampaolo Rodola'
........
r60207 | raymond.hettinger | 2008-01-23 01:04:40 +0100 (Wed, 23 Jan 2008) | 1 line

Let pprint() support sets and frozensets (suggested by David Mertz).
........
r60208 | guido.van.rossum | 2008-01-23 02:18:27 +0100 (Wed, 23 Jan 2008) | 4 lines

I'm tired of these tests breaking at Google due to our large number of
users and groups in LDAP/NIS. So I'm limiting the extra-heavy part of
the tests to passwd/group files with at most 1000 entries.
........
/external/python/cpython3/Lib/test/test_pwd.py
3172c5d263eeffff1e89d03d79be3ccc1d60fbde 16-Oct-2007 Guido van Rossum <guido@python.org> Patch# 1258 by Christian Heimes: kill basestring.
I like this because it makes the code shorter! :-)
/external/python/cpython3/Lib/test/test_pwd.py
c1f779cb015272412e4da2e5cb61b4e8cdcbf191 03-Jul-2007 Guido van Rossum <guido@python.org> Merged revisions 56125-56153 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

........
r56127 | georg.brandl | 2007-06-30 09:32:49 +0200 (Sat, 30 Jun 2007) | 2 lines

Fix a place where floor division would be in order.
........
r56135 | guido.van.rossum | 2007-07-01 06:13:54 +0200 (Sun, 01 Jul 2007) | 28 lines

Make map() and filter() identical to itertools.imap() and .ifilter(),
respectively.

I fixed two bootstrap issues, due to the dynamic import of itertools:

1. Starting python requires that map() and filter() are not used until
site.py has added build/lib.<arch> to sys.path.
2. Building python requires that setup.py and distutils and everything
they use is free of map() and filter() calls.

Beyond this, I only fixed the tests in test_builtin.py.
Others, please help fixing the remaining tests that are now broken!
The fixes are usually simple:
a. map(None, X) -> list(X)
b. map(F, X) -> list(map(F, X))
c. map(lambda x: F(x), X) -> [F(x) for x in X]
d. filter(F, X) -> list(filter(F, X))
e. filter(lambda x: P(x), X) -> [x for x in X if P(x)]

Someone, please also contribute a fixer for 2to3 to do this.
It can leave map()/filter() calls alone that are already
inside a list() or sorted() call or for-loop.

Only in rare cases have I seen code that depends on map() of lists
of different lengths going to the end of the longest, or on filter()
of a string or tuple returning an object of the same type; these
will need more thought to fix.
........
r56136 | guido.van.rossum | 2007-07-01 06:22:01 +0200 (Sun, 01 Jul 2007) | 3 lines

Make it so that test_decimal fails instead of hangs, to help automated
test runners.
........
r56139 | georg.brandl | 2007-07-01 18:20:58 +0200 (Sun, 01 Jul 2007) | 2 lines

Fix a few test cases after the map->imap change.
........
r56142 | neal.norwitz | 2007-07-02 06:38:12 +0200 (Mon, 02 Jul 2007) | 1 line

Get a bunch more tests passing after converting map/filter to return iterators.
........
r56147 | guido.van.rossum | 2007-07-02 15:32:02 +0200 (Mon, 02 Jul 2007) | 4 lines

Fix the remaining failing unit tests (at least on OSX).
Also tweaked urllib2 so it doesn't raise socket.gaierror when
all network interfaces are turned off.
........
/external/python/cpython3/Lib/test/test_pwd.py
805365ee39298f93e433e19ae0dd87c6f782145b 08-May-2007 Guido van Rossum <guido@python.org> Merged revisions 55007-55179 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/p3yk

........
r55077 | guido.van.rossum | 2007-05-02 11:54:37 -0700 (Wed, 02 May 2007) | 2 lines

Use the new print syntax, at least.
........
r55142 | fred.drake | 2007-05-04 21:27:30 -0700 (Fri, 04 May 2007) | 1 line

remove old cruftiness
........
r55143 | fred.drake | 2007-05-04 21:52:16 -0700 (Fri, 04 May 2007) | 1 line

make this work with the new Python
........
r55162 | neal.norwitz | 2007-05-06 22:29:18 -0700 (Sun, 06 May 2007) | 1 line

Get asdl code gen working with Python 2.3. Should continue to work with 3.0
........
r55164 | neal.norwitz | 2007-05-07 00:00:38 -0700 (Mon, 07 May 2007) | 1 line

Verify checkins to p3yk (sic) branch go to 3000 list.
........
r55166 | neal.norwitz | 2007-05-07 00:12:35 -0700 (Mon, 07 May 2007) | 1 line

Fix this test so it runs again by importing warnings_test properly.
........
r55167 | neal.norwitz | 2007-05-07 01:03:22 -0700 (Mon, 07 May 2007) | 8 lines

So long xrange. range() now supports values that are outside
-sys.maxint to sys.maxint. floats raise a TypeError.

This has been sitting for a long time. It probably has some problems and
needs cleanup. Objects/rangeobject.c now uses 4-space indents since
it is almost completely new.
........
r55171 | guido.van.rossum | 2007-05-07 10:21:26 -0700 (Mon, 07 May 2007) | 4 lines

Fix two tests that were previously depending on significant spaces
at the end of a line (and before that on Python 2.x print behavior
that has no exact equivalent in 3.0).
........
/external/python/cpython3/Lib/test/test_pwd.py
9afbb4e364e087a097610e9da47362518020cc2a 11-Feb-2007 Guido van Rossum <guido@python.org> Two more trivial fixes.
/external/python/cpython3/Lib/test/test_pwd.py
0e664e15efb87b437402a7e6524d635033b7a91e 12-Dec-2005 Fredrik Lundh <fredrik@pythonware.com> skip NIS entries, empty entries, etc
/external/python/cpython3/Lib/test/test_pwd.py
80768f86359ddd9006301baefae9398364c55eb2 12-Dec-2005 Fredrik Lundh <fredrik@pythonware.com> skip nis entries, if not filtered out by getpwall itself
/external/python/cpython3/Lib/test/test_pwd.py
21d3a32b99c5763444c34c189ef653ac9745f3c4 01-May-2003 Walter Dörwald <walter@livinglogic.de> Combine the functionality of test_support.run_unittest()
and test_support.run_classtests() into run_unittest()
and use it wherever possible.

Also don't use "from test.test_support import ...", but
"from test import test_support" in a few spots.

From SF patch #662807.
/external/python/cpython3/Lib/test/test_pwd.py
0eadaac7dc3ae49974c105ff9e8c1e98a04d7d5a 24-Apr-2003 Tim Peters <tim.peters@gmail.com> Whitespace normalization.
/external/python/cpython3/Lib/test/test_pwd.py
ecd2fdca0f9461b149ca6d0bcf070deac5e7ca9a 22-Apr-2003 Walter Dörwald <walter@livinglogic.de> Change test_pwd and test_grp so they can handle duplicate user
and group names. This should fix SF bug #724771.
/external/python/cpython3/Lib/test/test_pwd.py
66e1e508b98f5538066a3e4196b83eb5b6904269 15-Apr-2003 Walter Dörwald <walter@livinglogic.de> Fix the test so that it works even when /etc/passwd has two entries
for the same uid.
/external/python/cpython3/Lib/test/test_pwd.py
b1ded1e508d67acfb71450b353d0939e991cb288 15-Apr-2003 Walter Dörwald <walter@livinglogic.de> Port test_pwd.py to PyUnit. Check that getpwall() and
getpwnam()/getpwuid() return consistent data.

Change test_grp to check that getgrall() and
getgrnam()/getgrgid() return consistent data.
Add error checks similar to test_pwd.py.

Port test___all__.py to PyUnit.

From SF patch #662807.
/external/python/cpython3/Lib/test/test_pwd.py
04f357cffef6d764f2f0ff2671dabde75ec250d1 23-Jul-2002 Barry Warsaw <barry@python.org> Get rid of relative imports in all unittests. Now anything that
imports e.g. test_support must do so using an absolute package name
such as "import test.test_support" or "from test import test_support".

This also updates the README in Lib/test, and gets rid of the
duplicate data dirctory in Lib/test/data (replaced by
Lib/email/test/data).

Now Tim and Jack can have at it. :)
/external/python/cpython3/Lib/test/test_pwd.py
2846b0ab417dbfc76d2f9b52b5613ad4fe8feb63 09-Feb-2001 Eric S. Raymond <esr@thyrsus.com> String method conversion.
(This one was trivial -- no actual string. references in it!)
/external/python/cpython3/Lib/test/test_pwd.py
f785042433f0c43ed1ba2ba0388fc51d79bcf5c3 17-Jan-2001 Fredrik Lundh <fredrik@pythonware.com> a bold attempt to fix things broken by MAL's verify patch: import
'verify' iff it's used by a test module...
/external/python/cpython3/Lib/test/test_pwd.py
3661908a6ac75026e4504d9f62a6ac2e2fb2ec5e 17-Jan-2001 Marc-André Lemburg <mal@egenix.com> This patch removes all uses of "assert" in the regression test suite
and replaces them with a new API verify(). As a result the regression
suite will also perform its tests in optimization mode.

Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
/external/python/cpython3/Lib/test/test_pwd.py
132dce22469f476f399d1bbc6d1cc2f7ba0110cc 13-Dec-2000 Fred Drake <fdrake@acm.org> Update the code to better reflect recommended style:

Use != instead of <> since <> is documented as "obsolescent".
Use "is" and "is not" when comparing with None or type objects.
/external/python/cpython3/Lib/test/test_pwd.py
004d5e6880940ddbb38460986ac62ee0f1bae97d 23-Oct-2000 Fred Drake <fdrake@acm.org> Make reindent.py happy (convert everything to 4-space indents!).
/external/python/cpython3/Lib/test/test_pwd.py
a05e293a219f0fbaf4301fa7a292b9578a523675 28-Jun-2000 Jeremy Hylton <jeremy@alum.mit.edu> typos fixed by Rob Hooft
/external/python/cpython3/Lib/test/test_pwd.py
41360a4696f488e49e5409b3b1baf1fff6ae0044 26-Mar-1998 Guido van Rossum <guido@python.org> Mass check-in after untabifying all files that need it.
/external/python/cpython3/Lib/test/test_pwd.py
462d6e6484626ff8b7a79e43f3d6c64e0120bdf9 20-May-1997 Guido van Rossum <guido@python.org> More robust way of choosing a non-existant uid (faster, too).
(Correct version -- the previous checkin was a keyboard slip.)
/external/python/cpython3/Lib/test/test_pwd.py
6308d510e954ad1076b579d91e42874de6a0bcde 20-May-1997 Guido van Rossum <guido@python.org> More robust way of choosing a non-existant uid (faster, too).
/external/python/cpython3/Lib/test/test_pwd.py
5e056bbb76bec655f447fd44367f88e33af3bb02 24-Dec-1996 Barry Warsaw <barry@python.org> test_rotor.py: New test of the rotor module.

test_*: converted to the new test harness. GvR note! test_signal.py
works interatively (i.e. when verbose=1) but does not work inside the
test harness. It must be a timing issue, but I haven't figured it out
yet.
/external/python/cpython3/Lib/test/test_pwd.py
3d070fb39115a69924095bcb9cd8e4efb7b48cca 11-Dec-1996 Barry Warsaw <barry@python.org> Test of the pwd module
/external/python/cpython3/Lib/test/test_pwd.py