]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] Test that `ValueError` is raised when `vfsopen` is passed an invalid mode...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 19 Jul 2026 09:10:16 +0000 (11:10 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Jul 2026 09:10:16 +0000 (09:10 +0000)
commit003764f671893bb7d3233ffde3f140032ba3f79d
treef40c0862b1b659354a086039393f5741a0479366
parentb51ecd89c63ba5217b555e97953fb71933ce47d4
[3.15] Test that `ValueError` is raised when `vfsopen` is passed an invalid mode (GH-154008) (#154064)

Test that `ValueError` is raised when `vfsopen` is passed an invalid mode (GH-154008)

* ValueError with message test

* Remove white space

* Apply suggestions from code review

Change from double quotes to single quotes.

---------
(cherry picked from commit 9f5af278960a2f73a2e070de5141701e72675cf6)

Co-authored-by: Rayan <157278782+ravg998@users.noreply.github.com>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Lib/test/test_pathlib/test_read.py