gh-132185: Avoid slow test_expanduser_pwd2 in test_posixpath#132186
gh-132185: Avoid slow test_expanduser_pwd2 in test_posixpath#132186itamaro wants to merge 1 commit into
Conversation
…ll() On systems where `pwd.getpwall()` can return lots of entries, this test can end up being very slow, for no obvious benefit.
sobolevn
left a comment
There was a problem hiding this comment.
Just for the historic reasons: when we say "a very large number of entries" - what number do we mean exactly? 100? 100_000?
I can't disclose the exact number since it's from an internal environment, but I can say the "multi-minute run time" is for an output size that's O(100k) |
|
See also #132231. |
nice! |
On systems where
pwd.getpwall()can return lots of entries, this test can end up being very slow, for no obvious benefit.