perl/Test-Simple: update to 1.302205
[oi-userland.git] / components / python / pylint / patches / 02-pydantic.patch
blob05ce417ad28522d4b802698fde00594e87057db1
1 https://github.com/pylint-dev/pylint/issues/9270
3 --- pylint-3.3.2/tests/functional/n/no/no_name_in_module.py.orig
4 +++ pylint-3.3.2/tests/functional/n/no/no_name_in_module.py
5 @@ -83,4 +83,4 @@
6 # This captures the original failure in https://github.com/pylint-dev/pylint/issues/6497
7 # only if numpy is installed. We are not installing numpy on CI (for now)
8 from numpy.distutils.misc_util import is_sequence
9 -from pydantic import BaseModel
10 +from pydantic_foo import BaseModel
11 --- pylint-3.3.2/tests/functional/d/dataclass/dataclass_with_field.py.orig
12 +++ pylint-3.3.2/tests/functional/d/dataclass/dataclass_with_field.py
13 @@ -4,7 +4,7 @@
15 from dataclasses import field
16 from typing import List
17 -from pydantic.dataclasses import dataclass # [import-error]
18 +from pydantic_foo.dataclasses import dataclass # [import-error]
21 class Item:
22 --- pylint-3.3.2/tests/functional/d/dataclass/dataclass_with_field.txt.orig
23 +++ pylint-3.3.2/tests/functional/d/dataclass/dataclass_with_field.txt
24 @@ -1 +1 @@
25 -import-error:7:0:7:42::Unable to import 'pydantic.dataclasses':UNDEFINED
26 +import-error:7:0:7:46::Unable to import 'pydantic_foo.dataclasses':UNDEFINED