Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
gh-118507 : Refactornt._path_is*#118755
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
ab76c061c5350dd7017ac2963338e833f04d0493c24403f4a7a9038fa6ec86d30603f0cd7c6d0168d299e00df4cb31a25259e140776acc0d2c8e464a8bc5f255b6b8061a62ceba79151515341301568bb07629c60fcffb5cae7a55cbf0bc44c0a3f75bf963e71cb7f024d27496edc3b3c6dae2c05dd20e2ced928dfd41967a7e94250b3612eab1cb46f6b07b0ca58a03f1ea76222c58a6e41cbfFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -135,6 +135,9 @@ def test_exists(self): | ||
| self.assertIs(self.pathmodule.exists(filename), False) | ||
| self.assertIs(self.pathmodule.exists(bfilename), False) | ||
| self.assertIs(self.pathmodule.lexists(filename), False) | ||
| self.assertIs(self.pathmodule.lexists(bfilename), False) | ||
nineteendo marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
| create_file(filename) | ||
| self.assertIs(self.pathmodule.exists(filename), True) | ||
| @@ -145,14 +148,13 @@ def test_exists(self): | ||
| self.assertIs(self.pathmodule.exists(filename + '\x00'), False) | ||
| self.assertIs(self.pathmodule.exists(bfilename + b'\x00'), False) | ||
| self.assertIs(self.pathmodule.lexists(filename), True) | ||
| self.assertIs(self.pathmodule.lexists(bfilename), True) | ||
| self.assertIs(self.pathmodule.lexists(filename + '\udfff'), False) | ||
| self.assertIs(self.pathmodule.lexists(bfilename + b'\xff'), False) | ||
| self.assertIs(self.pathmodule.lexists(filename + '\x00'), False) | ||
| self.assertIs(self.pathmodule.lexists(bfilename + b'\x00'), False) | ||
| @unittest.skipUnless(hasattr(os, "pipe"), "requires os.pipe()") | ||
| @unittest.skipIf(is_emscripten, "Emscripten pipe fds have no stat") | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Speedup :func:`os.path.isjunction` and :func:`os.path.lexists` on Windows with a native implementation. |
Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.