ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / python / mypy / patches / 05-test-pkg.patch
blob8445083e44fb692db009b3b0b97b4e594ba071bd
1 This test fails if there is pkg installed. Since pkg is always installed
2 (obviously) we just remove the test.
4 --- mypy-1.13.0/mypyc/test-data/run-imports.test.orig
5 +++ mypy-1.13.0/mypyc/test-data/run-imports.test
6 @@ -99,19 +99,6 @@
7 from native import f
8 assert f(1) == 2
10 -[case testFromImportWithUntypedModule]
12 -# avoid including an __init__.py and use type: ignore to test what happens
13 -# if mypy can't tell if mod isn't a module
14 -from pkg import mod # type: ignore
16 -def test_import() -> None:
17 - assert mod.h(8) == 24
19 -[file pkg/mod.py]
20 -def h(x):
21 - return x * 3
23 [case testFromImportWithKnownModule]
24 from pkg import mod1
25 from pkg import mod2 as modmod