X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/882d8795c6ff65c02f2657e596391748d1b6b7f5:/tests/data/cases/preview_context_managers_autodetect_310.py..HEAD:/.vim/bundle/black/tests/data/cases/static/gitweb.js diff --git a/tests/data/cases/preview_context_managers_autodetect_310.py b/tests/data/cases/preview_context_managers_autodetect_310.py deleted file mode 100644 index a9e3107..0000000 --- a/tests/data/cases/preview_context_managers_autodetect_310.py +++ /dev/null @@ -1,36 +0,0 @@ -# flags: --preview --minimum-version=3.10 -# This file uses pattern matching introduced in Python 3.10. - - -match http_code: - case 404: - print("Not found") - - -with \ - make_context_manager1() as cm1, \ - make_context_manager2() as cm2, \ - make_context_manager3() as cm3, \ - make_context_manager4() as cm4 \ -: - pass - - -# output - - -# This file uses pattern matching introduced in Python 3.10. - - -match http_code: - case 404: - print("Not found") - - -with ( - make_context_manager1() as cm1, - make_context_manager2() as cm2, - make_context_manager3() as cm3, - make_context_manager4() as cm4, -): - pass