]> git.madduck.net Git - etc/vim.git/blob - tests/data/cases/pep_572_do_not_remove_parens.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

CI Test: Deprecating 'Healthcheck.all()' from Hypothesis in fuzz.py (#3945)
[etc/vim.git] / tests / data / cases / pep_572_do_not_remove_parens.py
1 # flags: --fast
2 # Most of the following examples are really dumb, some of them aren't even accepted by Python,
3 # we're fixing them only so fuzzers (which follow the grammar which actually allows these
4 # examples matter of fact!) don't yell at us :p
5
6 del (a := [1])
7
8 try:
9     pass
10 except (a := 1) as (b := why_does_this_exist):
11     pass
12
13 for (z := 124) in (x := -124):
14     pass
15
16 with (y := [3, 2, 1]) as (funfunfun := indeed):
17     pass
18
19
20 @(please := stop)
21 def sigh():
22     pass
23
24
25 for (x := 3, y := 4) in y:
26     pass