Revise stub merge architecture to provide detailed parameter type hints and return types. #2156
Annotations
2 errors
Test stubber:
tests/merge/test_candidates.py#L76
test_merge_candidates[23-repos/micropython-stubs/micropython-reference-tests/data/stub_merge/micropython-v1_24_1-docstubs-94]
AssertionError: assert 89 == 94
+ where 89 = len([MergeMatch(target=PosixPath('tests/data/stub_merge/micropython-v1_24_1-docstubs/_thread/__init__.pyi'), source=PosixPath('repos/micropython-stubs/micropython-reference/_thread/__init__.pyi'), target_pkg='_thread.__init__', source_pkg='_thread.__init__', is_match=True), MergeMatch(target=PosixPath('tests/data/stub_merge/micropython-v1_24_1-docstubs/array/__init__.pyi'), source=PosixPath('repos/micropython-stubs/micropython-reference/array/__init__.pyi'), target_pkg='array.__init__', source_pkg='array.__init__', is_match=True), MergeMatch(target=PosixPath('tests/data/stub_merge/micropython-v1_24_1-docstubs/asyncio/__init__.pyi'), source=PosixPath('repos/micropython-stubs/micropython-reference/asyncio/__init__.pyi'), target_pkg='asyncio.__init__', source_pkg='asyncio.__init__', is_match=True), MergeMatch(target=PosixPath('tests/data/stub_merge/micropython-v1_24_1-docstubs/binascii/__init__.pyi'), source=PosixPath('repos/micropython-stubs/micropython-reference/binascii/__init__.pyi'), target_pkg='binascii.__init__', source_pkg='binascii.__init__', is_match=True), MergeMatch(target=PosixPath('tests/data/stub_merge/micropython-v1_24_1-docstubs/bluetooth/__init__.pyi'), source=PosixPath('repos/micropython-stubs/micropython-reference/bluetooth/__init__.pyi'), target_pkg='bluetooth.__init__', source_pkg='bluetooth.__init__', is_match=True), MergeMatch(target=PosixPath('tests/data/stub_merge/micropython-v1_24_1-docstubs/btree/__init__.pyi'), source=PosixPath('repos/micropython-stubs/micropython-reference/btree/__init__.pyi'), target_pkg='btree.__init__', source_pkg='btree.__init__', is_match=True), ...])
|
Test stubber
Process completed with exit code 1.
|
Loading