We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 126a522 commit d16f6c7Copy full SHA for d16f6c7
2 files changed
tests/data/parenthesized_context_managers.py
@@ -0,0 +1,21 @@
1
+with (CtxManager() as example):
2
+ ...
3
+
4
+with (CtxManager1(), CtxManager2()):
5
6
7
+with (CtxManager1() as example, CtxManager2()):
8
9
10
+with (CtxManager1(), CtxManager2() as example):
11
12
13
+with (CtxManager1() as example1, CtxManager2() as example2):
14
15
16
+with (
17
+ CtxManager1() as example1,
18
+ CtxManager2() as example2,
19
+ CtxManager3() as example3,
20
+):
21
tests/test_format.py
@@ -70,7 +70,11 @@
70
"percent_precedence",
71
]
72
73
-PY310_CASES = ["pattern_matching_simple", "pattern_matching_complex"]
+PY310_CASES = [
74
+ "pattern_matching_simple",
75
+ "pattern_matching_complex",
76
+ "parenthesized_context_managers",
77
+]
78
79
SOURCES = [
80
"src/black/__init__.py",
0 commit comments