Skip to content

Commit aecd1d8

Browse files
CPython Developersyouknowone
CPython Developers
authored andcommitted
Update test_module from CPython 3.10.6
1 parent 8f9c7a4 commit aecd1d8

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

Lib/test/ann_module.py

+2
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,5 @@ def dec(func):
5858
def wrapper(*args, **kwargs):
5959
return func(*args, **kwargs)
6060
return wrapper
61+
62+
u: int | float

Lib/test/ann_module4.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# This ann_module isn't for test_typing,
2+
# it's for test_module
3+
4+
a:int=3
5+
b:str=4

Lib/test/ann_module7.py

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Tests class have ``__text_signature__``
2+
3+
from __future__ import annotations
4+
5+
DEFAULT_BUFFER_SIZE = 8192
6+
7+
class BufferedReader(object):
8+
"""BufferedReader(raw, buffer_size=DEFAULT_BUFFER_SIZE)\n--\n\n
9+
Create a new buffered reader using the given readable raw IO object.
10+
"""
11+
pass

0 commit comments

Comments
 (0)