demandimport: ignore pwd and grp.
Both are unavailable under Windows and tarfile detects them via ImportError.
To run the tests, do:cd tests/python run-tests.pySee http://www.selenic.com/mercurial/wiki/index.cgi/WritingTests formore information on writing tests.