]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Test that `ValueError` is raised when `vfsopen` is passed an invalid mode (#154008)
authorRayan <157278782+ravg998@users.noreply.github.com>
Sun, 19 Jul 2026 08:21:26 +0000 (10:21 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Jul 2026 08:21:26 +0000 (08:21 +0000)
commit9f5af278960a2f73a2e070de5141701e72675cf6
treee77fde1139133699286e5f6c37bde2356f3b9d9a
parent4b60b46f09e7148216d5e07c289a17c9ebbb6074
Test that `ValueError` is raised when `vfsopen` is passed an invalid mode (#154008)

* ValueError with message test

* Remove white space

* Apply suggestions from code review

Change from double quotes to single quotes.

Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
---------

Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Lib/test/test_pathlib/test_read.py