4Q3WIFSSKrSSKrSSKrSSKrSSKrSSKrSSKJr Sr Sr Sr Sr Sr SrS rS rS rS rS rSrSrSrSr"SS\\R05r"SS\5r"SS\5r"SS\R05r"SS\5r\S:Xa\R>"5 gg)N) ASTTestMixinc[R"U5nUR5sSSS5 $!,(df  g=fN)tokenizeopenread)filenamestreams 8/opt/alt/python313/lib64/python3.13/test/test_unparse.py read_pyfiler s' x F{{} ! s1 ?zQdef f(): for x in range(10): break else: y = 2 z = 3 zIdef g(): while True: break else: y = 2 z = 3 zQfrom . import fred from .. import barney from .australia import shrimp as prawns zzdef f(): x = 1 def g(): nonlocal x x = 2 y = 7 def h(): nonlocal x, y zOtry: 1 / 0 except ZeroDivisionError as e: raise ArithmeticError from e z@f1(arg) @f2 class Foo: pass z=if cond1: suite1 elif cond2: suite2 else: suite3 z,if cond1: suite1 elif cond2: suite2 zctry: suite1 except ex1: suite2 except ex2: suite3 else: suite4 finally: suite5 zetry: suite1 except* ex1: suite2 except* ex2: suite3 else: suite4 finally: suite5 zwith f(): suite1 zwith f() as x: suite1 z$with f() as x, g() as y: suite1 )zclass foo: zdef foo(): zasync def foo(): cD\rSrSrSr\4SjrS SjrS SjrS Sjr Sr g) ASTTestCasec URXS9 [R"U40UD6n[R"U5n[R"U40UD6nUR X55 SSS5 g!,(df  g=f)N)code1ast_parse_kwargs)subTestastparseunparseassertASTEqual)selfrkwargsast1code2ast2s r check_ast_roundtripASTTestCase.check_ast_roundtrips_ \\\ ?99U-f-DKK%E99U-f-D    + @ ? ?s AA// A=cURUS9 URU[RU5 SSS5 g!,(df  g=f)N)node)r assertRaisesrr)rr!raisess r check_invalidASTTestCase.check_invalids2 \\t\ $   fckk4 8% $ $s "; A NcrU=(d Un[R"[R"U55nX4$r)rrrrrrs r get_sourceASTTestCase.get_sources* CIIe,-|cURX5upURXS9 URX!5 SSS5 g!,(df  g=fN)rr)r(r assertEqualr's r check_src_roundtripASTTestCase.check_src_roundtrips:u4  \\\ 3   U *4 3 3 > A cURX5upURXS9 URX!5 SSS5 g!,(df  g=fr,)r(rassertNotEqualr's r check_src_dont_roundtrip$ASTTestCase.check_src_dont_roundtrips:u4  \\\ 3    -4 3 3r0r) __name__ __module__ __qualname____firstlineno__r ValueErrorr$r(r.r3__static_attributes__r5r*r rrs ,*49 + .r*rc4\rSrSrSrSrSrSrSrSr Sr S r S r S r S rS rSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSr Sr!S r"S!r#S"r$S#r%S$r&S%r'S&r(S'r)S(r*S)r+S*r,S+r-S,r.S-r/S.r0S/r1S0r2S1r3S2r4g3)4UnparseTestCasec$URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS 5 URS 5 URS 5 URS 5 URS 5 URS5 URS5 URS5 g)Nzf'a'zf'{{}}'zf'{{5}}'z f'{{5}}5'z f'X{{}}X'zf'{a}'z f'{ {1:2}}'zf'a{a}a'z f'a{a}{a}a'z f'a{a}a{a}a'zf'{a!r}x{a!s}12{{}}{a!a}'z f'{a:10}'zf'{a:100_000{10}}'z f'{a!r:10}'z f'{a:a{b}10}'zRf'a{b}{c!s}{d!r}{e!a}{f:a}{g:a{b}}{h!s:a}{j!s:{a}b}{k!s:a{b}c}{l!a:{b}c{d}}{x+y=}'rrs r test_fstringsUnparseTestCase.test_fstringss   (   +   ,   -   -   *   /   ,   /   0   !<=   -   !56   /   1   < r*cURS5 URS5 URS5 URS5 g)Nz f'{f"{0}"*3}'z f'{f"{y}"*3}'zf''zf"""'end' "quote\""""r@rAs r test_fstrings_special_chars+UnparseTestCase.test_fstrings_special_charss=   !56   !56   +   !=>r*cURS5 URS5 URS5 URS5 URS5 URS5 URS5 g)Nz f'''{"'"}'''%f'''-{f"""*{f"+{f'.{x}.'}+"}*"""}-'''z4f'''-{f"""*{f"+{f'.{x}.'}+"}*"""}-'single quote\''''zf"""{''' '''}"""zf"""{g(''' ''')}"""z f"a\r\nb"f"\u2028{'x'}"r@rAs r test_fstrings_complicated)UnparseTestCase.test_fstrings_complicatedsk   !34   !RS   !bc   !:;   !=>   !23   !67r*cHURS5 URS5 g)Nz0f" something { my_dict["key"] } something else "z!f"{f"{f"{f"{f"{f"{1+1}"}"}"}"}"}"r@rAs r test_fstrings_pep701$UnparseTestCase.test_fstrings_pep701s    !ST   !DEr*cjURS5 URS5 URS5 g)Nzu'foo'zr'foo'zb'foo'r@rAs r test_stringsUnparseTestCase.test_stringss,   *   *   *r*c&URS5 g)Nz del x, y, zr@rAs r test_del_statement"UnparseTestCase.test_del_statements   /r*cHURS5 URS5 g)Nz45 << 2z13 >> 7r@rAs r test_shiftsUnparseTestCase.test_shiftss   +   +r*c.UR[5 gr)rfor_elserAs r test_for_elseUnparseTestCase.test_for_elses   *r*c.UR[5 gr)r while_elserAs r test_while_elseUnparseTestCase.test_while_else   ,r*cURS5 URS5 URS5 URS5 URS5 g)Nz(-1)**7z(-1.)**8z(-1j)**6znot True or FalsezTrue or not Falser@rAs r test_unary_parens!UnparseTestCase.test_unary_parenssJ   +   ,   ,   !45   !45r*c&URS5 g)Nz 3 .__abs__()r@rAs r test_integer_parens#UnparseTestCase.test_integer_parenss   0r*cURS5 URS5 URS5 URS5 g)N1e1000z-1e10001e1000jz-1e1000jr@rAs r test_huge_floatUnparseTestCase.test_huge_floats:   *   +   +   ,r*c UR[R"[R"[R"[ S5S955[R"S55 g)Nnanvaluez1e1000 - 1e1000)rrrrConstantfloatrAs r test_nanUnparseTestCase.test_nans?  IIckk#,,U5\"BC D II' ( r*clUR[S55 UR[S55 g)Nil)rstrrAs r test_min_intUnparseTestCase.test_min_ints&   Z1   Z1r*cURS5 URS5 URS5 URS5 g)N7jz-7j0jz-0jr@rAs r test_imaginary_literals'UnparseTestCase.test_imaginary_literalss:   &   '   &   'r*c&URS5 g)Nz(lambda: int)()r@rAs r test_lambda_parentheses'UnparseTestCase.test_lambda_parentheses   !23r*cHURS5 URS5 g)Nz 1 < 4 <= 5za is b is c is not dr@rAs r test_chained_comparisons(UnparseTestCase.test_chained_comparisonss   .   !78r*cURS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS 5 URS 5 URS 5 URS 5 g) Nz def f(): passzdef f(a): passzdef f(b = 2): passzdef f(a, b): passzdef f(a, b = 2): passzdef f(a = 5, b = 2): passzdef f(*, a = 1, b = 2): passzdef f(*, a = 1, b): passzdef f(*, a, b = 2): passz&def f(a, b = None, *, c, **kwds): passz'def f(a=2, *args, c=5, d, **kwds): passzdef f(*args, **kwargs): passr@rAs r test_function_arguments'UnparseTestCase.test_function_argumentss   1   !12   !56   !45   !89   !<=   !?@   !;<   !;<   !IJ   !JK   !?@r*c.UR[5 gr)rrelative_importrAs r test_relative_import$UnparseTestCase.test_relative_import   1r*c.UR[5 gr)r nonlocal_exrAs r test_nonlocalUnparseTestCase.test_nonlocal   -r*c.UR[5 gr)r raise_fromrAs r test_raise_fromUnparseTestCase.test_raise_fromr`r*c&URS5 g)Nzb'123'r@rAs r test_bytesUnparseTestCase.test_bytess   *r*cURS5 URS5 URS5 URS5 URS5 g)Nzdef f(a : int): passzdef f(a: int = 5): passzdef f(*args: [int]): passzdef f(**kwargs: dict): passzdef f() -> None: passr@rAs r test_annotations UnparseTestCase.test_annotationssM   !78   !:;   !<=   !>?   !89r*c&URS5 g)Nz{'a', 'b', 'c'}r@rAs r test_set_literal UnparseTestCase.test_set_literal&rr*c UR[R"[R"[R"/S955[R"S55 g)N)eltsz{*()})rrrrSetrAs r test_empty_setUnparseTestCase.test_empty_set)s:  IIckk#''r"23 4 IIg  r*c&URS5 g)Nz{x for x in range(5)}r@rAs r test_set_comprehension&UnparseTestCase.test_set_comprehension/s   !89r*c&URS5 g)Nz{x: x*x for x in range(10)}r@rAs r test_dict_comprehension'UnparseTestCase.test_dict_comprehension2s   !>?r*c.UR[5 gr)rclass_decoratorrAs r test_class_decorators%UnparseTestCase.test_class_decorators5rr*c&URS5 g)Nz(class A(metaclass=type, *[], **{}): passr@rAs r test_class_definition%UnparseTestCase.test_class_definition8s   !KLr*cXUR[5 UR[5 gr)relif1elif2rAs r test_elifsUnparseTestCase.test_elifs;s   '   'r*c.UR[5 gr)rtry_except_finallyrAs r test_try_except_finally'UnparseTestCase.test_try_except_finally?s   !34r*c.UR[5 gr)rtry_except_star_finallyrAs r test_try_except_star_finally,UnparseTestCase.test_try_except_star_finallyBs   !89r*cURS5 URS5 URS5 URS5 g)Nza, *b, c = seqza, (*b, c) = seqza, *b[0], c = seqza, *(b, c) = seqr@rAs r test_starred_assignment'UnparseTestCase.test_starred_assignmentEs>   !12   !34   !45   !34r*c.UR[5 gr)r with_simplerAs r test_with_simple UnparseTestCase.test_with_simpleKrr*c.UR[5 gr)rwith_asrAs r test_with_asUnparseTestCase.test_with_asNs   )r*c.UR[5 gr)rwith_two_itemsrAs r test_with_two_items#UnparseTestCase.test_with_two_itemsQs   0r*cHURS5 URS5 g)Nz{**{'y': 2}, 'x': 1}z{**{'y': 2}, **{'x': 1}}r@rAs r test_dict_unpacking_in_dict+UnparseTestCase.test_dict_unpacking_in_dictTs    !<=   !@Ar*c4URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS 5 URS 5 URS 5 URS 5 URS 5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 g)Nza[i]za[i,]za[i, j]za[(*a,)]za[*a]za[b, *a]za[*a, c]z a[b, *a, c] a[*a, *a]z a[b, *a, *a]z a[*a, b, *a]z a[*a, *a, b]za[b, *a, *a, c]z a[(a:=b)]z a[(a:=b,c)]a[()]za[i:j]za[:j]za[i:]za[i:j:k]za[:j:k]za[i::k]za[i:j,]z a[i:j, k]r@rAs r test_slicesUnparseTestCase.test_slicesYsS   (   )   +   ,   )   ,   ,   /   -   0   0   0   !23   -   /   )   *   )   )   ,   +   +   +   -r*c UR[R"S[R"S[R"5S9S95 g)NXidctx)exccause)r$rRaiseNameLoadrAs r test_invalid_raise"UnparseTestCase.test_invalid_raisets, 399SXX#((*5UVWr*c UR[R"[R"S[R"5S9[R "SS9/S95 g)Ntestrrn)values)r$r JoinedStrrrrprAs r test_invalid_fstring_value*UnparseTestCase.test_invalid_fstring_valuewsA  MMHHCHHJ7LLv.  r*c UR[R"[R"[R"SS9SSS95S5 g)Nz\\rn)ro conversion format_specz{'\\\\'})r-rrFormattedValuerprAs r test_fstring_backslash&UnparseTestCase.test_fstring_backslashs@ ..&)ll&@+-,0 *  +r*cJUR[R"SS95 g)Nrn)r$r YieldFromrAs r test_invalid_yield_from'UnparseTestCase.test_invalid_yield_froms 3==t45r*c>[R"S[R"SS9/S9nUR[R"U5S5 [R"S[R"SS9/SS9nUR[R"U5S5 g)Nmodx)name)modulenameszfrom mod import x)rrlevel)r ImportFromaliasr-r)rtrees r test_import_from_level_none+UnparseTestCase.test_import_from_level_nonesp~~U399#3F2GH T*,?@~~U399#3F2GtT T*,?@r*cDSnUHnURSUS35 M g)N) zthis ends with double quote"z"this includes a """triple quote""" z\r z\t z\nz \r \t \nz$""">>> content = """blabla""" <<<"""z foo\n\x00z' \'\'\'""" ""\'\' \'u🐍⛎𩸽üéş^\\X\\BB⟿z'''r@)r docstrings docstrings r test_docstringsUnparseTestCase.test_docstringss, $I  $ $s9+S%9 :$r*cUR[R"SSS9S5 UR[R"SSS9S5 g)N))rokindz(1,))rz (1, 2, 3))r.rrprAs r test_constant_tuples$UnparseTestCase.test_constant_tupless;   Dt!DfM   LLyt 4k r*c6SHnURUSS9 M g)N)z () -> intz(int, int) -> intz=(Callable[complex], More[Complex(call.to_typevar())]) -> None func_type)moder@)r function_types r test_function_type"UnparseTestCase.test_function_types# M  $ $] $ E  r*c6SHnURUSS9 M g)N) z a = 5 # type:za = 5 # type: intza = 5 # type: int and morez!def x(): # type: () -> None passz.def x(y): # type: (int) -> None and more passz'async def x(): # type: () -> None passz4async def x(y): # type: (int) -> None and more passzfor x in y: # type: int passz#async for x in y: # type: int passzwith x(): # type: int passz!async with x(): # type: int passT type_commentsr@r statements r test_type_comments"UnparseTestCase.test_type_commentss#  I  $ $Yd $ C  r*c6SHnURUSS9 M g)N) za = 5 # type: ignoreza = 5 # type: ignore and morezdef x(): # type: ignore passz'def x(y): # type: ignore and more passz#async def x(): # type: ignore passz-async def x(y): # type: ignore and more passz for x in y: # type: ignore passz&async for x in y: # type: ignore passzwith x(): # type: ignore passz$async with x(): # type: ignore passTrr@rs r test_type_ignore UnparseTestCase.test_type_ignores#  I  $ $Yd $ C  r*r5N)5r6r7r8r9rBrErJrMrPrSrVrZr^rbrerjrrrvr{r~rrrrrrrrrrrrrrrrrrrrrrrrrrrrr rrrr;r5r*r r=r=s *?8F+ 0,+-61-  2( 49 A2.-+:4 :@2M(5:5 .*1B .6X +6A ;( FD Dr*r=ch\rSrSrSrSrSrSrSrSr Sr S r S r S r S rS rSrSrSrg)CosmeticTestCaseicURS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS 5 URS 5 URS 5 URS 5 URS 5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 g)Nz(a := b)zawait xz x if x else yz lambda x: xz1 + 1z 1 + 2 / 3z (1 + 2) / 3z(1 + 2) * 3 + 4 * (5 + 2)z(1 + 2) * 3 + 4 * (5 + 2) ** 2z~xzx and yz x and y and zzx and (y and x)z(x and y) and zz(x ** y) ** z ** qzx >> yzx << yzx >> y and x >> zzx + y - z * q ^ t ** kzP * V if P and V else n * R * Tz"lambda P, V, n: P * V == n * R * Tzflag & (other | foo)z not x == yz x == (not y)zyield xz yield from xzcall((yield x))zreturn x + (yield x)r.rAs r test_simple_expressions_parens/CosmeticTestCase.test_simple_expressions_parenss   ,   +   1   /   )   -   /   !<=   !AB   &   +   1   !23   !23   !56   *   *   !45   !9:   !BC   !EF   !78   .   0   +   0   !23   !78r*cXURS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS 5 URS 5 g) Nclass X: passzclass X(A): passzclass X(A, B, C, D): passzclass X(x=y): passzclass X(metaclass=z): passzclass X(x=y, z=d): passzclass X(A, x=y): passzclass X(A, **kw): passzclass X(*args): passz"class X(*args, **kwargs): passrrAs r test_class_bases_and_keywords.CosmeticTestCase.test_class_bases_and_keywordss   !56   !89   !AB   !:;   !BC   !?@   !=>   !>?   !<=   !FGr*cURS5 URS5 URS5 URS5 URS5 URS5 URS5 g)NrHz*f'-{f'''*{f"""+{f".{f'{x}'}."}+"""}*'''}-'z/f'-{f'*{f'''+{f""".{f"{f'{x}'}"}."""}+'''}*'}-'rIzf'{x}\n'z f"{'\n'}\n"zf"{f'{x}\n'}\n"rrAs r rBCosmeticTestCase.test_fstringssj   !RS   !YZ   !`a   !67   -   !45   !89r*c^Sn[H!nUHnURUU35 M M# g)N) z"""simple doc string"""z7"""A more complex one with some newlines"""z,"""Foo bar baz empty newline"""z"""With some """z"""Foo "bar" baz """z"""\r"""z""""""z """'''"""z """''''''"""u""""🐍⛎𩸽üéş^\\X\\BB⟿"""z"""end in single 'quote'"""z'''end in double "quote"'''z#"""almost end in double "quote".""")docstring_prefixesr.)rrprefixrs r r CosmeticTestCase.test_docstrings s6 &)F' ((F8I;)?@()r*cSn[H4nUH+nUU3nURU5 URU5 M- M6 g)N)za = """false"""z("""false""" + """unless its optimized"""z1 + 1 """false"""z"f"""no, top level but f-fstring""")r)rr3)rdocstrings_negativer*negativesrcs r test_docstrings_negative_cases/CosmeticTestCase.test_docstrings_negative_cases$sL  )F/  +((---c2 0)r*cxSHnURUS35 M SHnURUS35 M g)N)+-~1)notz 1r)rr*s r test_unary_op_factor%CosmeticTestCase.test_unary_op_factor6s>%F  $ $xq\ 2&F  $ $xr] 3r*cURS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS 5 URS 5 URS 5 URS 5 URS 5 URS5 g)Nrza[1]za[1, 2]za[*a,]za[1, *a]za[*a, 2]z a[1, *a, 2]rz a[1, *a, *a]z a[*a, 1, *a]z a[*a, *a, 1]za[1, *a, *a, 2]z a[1:2, *a]z a[*a, 1:2]rrAs r rCosmeticTestCase.test_slices<s   )   (   +   *   ,   ,   /   -   0   0   0   !23   .   .r*cURS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 g) Nzlambda: somethingzfour = lambda: 2 + 2zlambda x: x * 2zsquare = lambda n: n ** 2zlambda x, y: x + yzadd = lambda x, y: x + yz lambda x, y, /, z, q, *, u: Nonezlambda x, *y, **z: NonerrAs r test_lambda_parameters'CosmeticTestCase.test_lambda_parametersOsz   !45   !78   !23   !<=   !56   !;<   !CD   !:;r*c SHDupSH9nURXS9 URURUS95 SSS5 M; MF g!,(df  MQ=f)N))zsingle assignmentz{target} = foo)zmultiple assignmentz{target} = {target} = bar)zfor loopzfor {target} in foo: pass)zasync for loopz#async for {target} in foo: pass)aza,za, bza, *b, cz a, (b, c), dza, (b, c, d), *eza, (b, *c, d), eza, (b, *c, (d, e), f), gz[a]z[a, b]z [a, *b, c]z[a, [b, c], d]z[a, [b, c, d], *e]z[a, [b, *c, d], e]z[a, [b, *c, [d, e], f], g]z a, [b, c], dz[a, b, (c, d), (e, f)]za, b, [*c], d, e) source_typetarget)rB)rr.format)rrAsourcerBs r test_star_expr_assign_target-CosmeticTestCase.test_star_expr_assign_targetYsY$ K (\\k\I,,V]]&]-IJJI) $ 4JIs A  A cURS5 URS5 URS5 URS5 URS5 URS5 URS5 g)Nz() = []z[] = ()z'() = [a] = c, = [d] = e, f = () = g = hz a = b = c = dza, b = c, d = e, f = gz[a, b] = [c, d] = [e, f] = gza, b = [c, d] = e, f = grrAs r %test_star_expr_assign_target_multiple6CosmeticTestCase.test_star_expr_assign_target_multiplewsh   +   +   !JK   1   !9:   !?@   !;C ; C  CcURS5 URS5 URS5 URS5 URS5 URS5 g)Nz f"{x:'}" z f"{x:\'}" z f"{x:\\'}" z f'\'{x:"}' z f'\'{x:\"}' z f'\'{x:\\"}' r@rAs r test_quote_in_format_spec*CosmeticTestCase.test_quote_in_format_specs[   1   !23   !45   !34   !56   !78r*cURS5 URS5 URS5 URS5 URS5 URS5 URS5 URS5 URS 5 URS 5 URS 5 URS 5 g) Nz type A = intztype A[T] = intztype A[T: int] = intztype A[T = int] = intztype A[T: int = int] = intztype A[**P] = intztype A[**P = int] = intztype A[*Ts] = intztype A[*Ts = int] = intztype A[*Ts = *int] = intz6def f[T: int = int, **P = int, *Ts = *int](): passz8class C[T: int = int, **P = int, *Ts = *int](): passr@rAs r test_type_params!CosmeticTestCase.test_type_paramss   0   !23   !78   !89   !=>   !45   !:;   !45   !:;   !;<   !Z[   !\]r*r5N)r6r7r8r9r r$rBrr0r8rr=rErHrKrSrVrYr;r5r*r rrsM9< H:A03$4 /&<K<= W :9 ^r*rcJ\rSrSrSrSrSrSrSrSr Sr S r S r S r g ) ManualASTCreationTestCaseic[R"S//[R"5//S9n[R"U5 UR [R "U5S5 g)Nr)rbaseskeywordsbodydecorator_listr#)rClassDefPassfix_missing_locationsr-rrr!s r test_class$ManualASTCreationTestCase.test_classsI||B388:,_ab !!$' T*,@Ar*c [R"S//[R"5//[R"S5/S9n[R"U5 UR [R "U5S5 g)NrT)rr^r_r`ra type_paramszclass X[T]: pass)rrbrcTypeVarrdr-rres r test_class_with_type_params5ManualASTCreationTestCase.test_class_with_type_paramssZ||B388:,_a*-++c*:);= !!$' T*,CDr*c [R"S[R"//S//S/S9[R"5//SS9n[R"U5 UR [R "U5S5 g)Nf posonlyargsargsvararg kwonlyargs kw_defaultskwargdefaultsrrrr`rareturnszdef f(): pass)r FunctionDef argumentsrcrdr-rres r test_function'ManualASTCreationTestCase.test_functionsj2BtPR`bjny{|((*   !!$' T*,@Ar*c 0[R"S[R"//S//S/S9[R"5//S[R"S5/S9n[R "U5 UR [R"U5S5 g)Nrorprirrrr`raryrjzdef f[T](): pass)rrzr{rcrkrdr-rres r test_function_with_type_params8ManualASTCreationTestCase.test_function_with_type_paramssy2BtPR`bjny{|((*S)*   !!$' T*,CDr*cz[R"S[R"//S//S/S9[R"5//S[R"S[R "S[R "5S9S9/S9n[R"U5 UR[R"U5S5 g) Nrorpriint)r)boundrzdef f[T: int](): pass) rrzr{rcrkrrrdr-rres r (test_function_with_type_params_and_boundBManualASTCreationTestCase.test_function_with_type_params_and_bounds2BtPR`bjny{|((*SCHHJ0OPQ   !!$' T*,HIr*c([R"S[R"5[R"5/[R"S[R "SS9S9[R "S[R"[R "SS9[R"5S9S9[R"S[R "SS9S9/S 9n[R"U5 UR[R"U5S 5 g) Nrorirrn default_valueTsrorPrrrr`rjz+def f[T = 1, *Ts = *1, **P = 1](): pass) rrzr{rcrkrp TypeVarTupleStarredr ParamSpecrdr-rres r *test_function_with_type_params_and_defaultDManualASTCreationTestCase.test_function_with_type_params_and_defaults((* Cs||!/DE  S[[s||Z[G\bebjbjbl5mn cA1FG   !!$' T*,Z[r*c [R"S[R"//S//S/S9[R"5//SS9n[R"U5 UR [R "U5S5 g)Nrorprxzasync def f(): pass)rAsyncFunctionDefr{rcrdr-rres r test_async_function-ManualASTCreationTestCase.test_async_functionsl##2BtPR`bjny{|((*   !!$' T*,FGr*c 0[R"S[R"//S//S/S9[R"5//S[R"S5/S9n[R "U5 UR [R"U5S5 g)Nrorprirzasync def f[T](): pass)rrr{rcrkrdr-rres r $test_async_function_with_type_params>ManualASTCreationTestCase.test_async_function_with_type_paramss{##2BtPR`bjny{|((*S)*   !!$' T*,IJr*c([R"S[R"5[R"5/[R"S[R "SS9S9[R "S[R"[R "SS9[R"5S9S9[R"S[R "SS9S9/S 9n[R"U5 UR[R"U5S 5 g) Nrorirrnrrrrrz1async def f[T = 1, *Ts = *1, **P = 1](): pass) rrr{rcrkrprrrrrdr-rres r 0test_async_function_with_type_params_and_defaultJManualASTCreationTestCase.test_async_function_with_type_params_and_default s##((* Cs||!/DE  S[[s||Z[G\bebjbjbl5mn cA1FG   !!$' T*,`ar*r5N)r6r7r8r9rfrlr|rrrrrrr;r5r*r r\r\s8B E B E J \ H K br*r\c\rSrSr\R "\5RS- r\\S- 4r 1Skr Sr \ S5r SrSrg) DirectoryTestCaseiz..r> test_ast.py test_patma.pytest_syntax.pytest_compile.pytest_fstring.pytest_grammar.pytest_tokenize.pytest_type_alias.pytest_asdl_parser.pytest_type_params.pyNc&URb UR$URVVs/sHNnURS5H5nURR S5(aM%UR 5PM7 MP nnn[ RRS5(d[UVs1sH!nURUR;dMUiM# nn[[R"US55n[X4-5nX0lU$s snnfs snf)Nz*.pybadcpu )_files_to_testtest_directoriesglobr startswithresolversupportis_resource_enabledrun_always_filessetrandomsamplelist)cls directoryitemitemstests_to_run_alwayss r files_to_testDirectoryTestCase.files_to_test&s    )%% %!11 1 !v.99''. DLLN. 1  ||//6649#FED#'990D0D#D$(E #F eR01E45E# / #Fs9D&D)D Dc4UR5Hrn[RR(a[ SUR 535 UR US9 [U5nURU5 SSS5 Mt g!,(df  M=f)NzTesting )r ) rrrverboseprintabsoluterr r)rrrDs r test_filesDirectoryTestCase.test_filesEso&&(D||## 123t,$T*((0-, )-,s B B r5)r6r7r8r9pathlibPath__file__parentlib_dirrrr classmethodrrr;r5r*r rrsSll8$++d2G6!12, N<1r*r__main__) unittest test.supportrrrrrtest.support.ast_helperrr rYr]rrrrrrrrrrrr)TestCaserr=rr\rr6mainr5r*r rs  0              ., 1 1.6tDktDn \^{\^~bb 1 1bbJ21 21j z MMOr*