summaryrefslogtreecommitdiff
path: root/dev-python/mypy/files/mypy-0.910-py3.10-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/mypy/files/mypy-0.910-py3.10-tests.patch')
-rw-r--r--dev-python/mypy/files/mypy-0.910-py3.10-tests.patch51
1 files changed, 0 insertions, 51 deletions
diff --git a/dev-python/mypy/files/mypy-0.910-py3.10-tests.patch b/dev-python/mypy/files/mypy-0.910-py3.10-tests.patch
deleted file mode 100644
index 16e85049cc1e..000000000000
--- a/dev-python/mypy/files/mypy-0.910-py3.10-tests.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-diff --git a/mypyc/test-data/run-misc.test b/mypyc/test-data/run-misc.test
-index 431efc228..0c1a26c1b 100644
---- a/mypyc/test-data/run-misc.test
-+++ b/mypyc/test-data/run-misc.test
-@@ -13,8 +13,7 @@ async def g() -> int:
- async def f() -> int:
- return await g()
-
--loop = asyncio.get_event_loop()
--result = loop.run_until_complete(f())
-+result = asyncio.run(f())
- assert result == 1
-
- [typing fixtures/typing-full.pyi]
-@@ -22,8 +21,8 @@ assert result == 1
- [file driver.py]
- from native import f
- import asyncio
--loop = asyncio.get_event_loop()
--result = loop.run_until_complete(f())
-+
-+result = asyncio.run(f())
- assert result == 1
-
- [case testMaybeUninitVar]
-diff --git a/test-data/stdlib-samples/3.2/random.py b/test-data/stdlib-samples/3.2/random.py
-index 7eecdfe04..82bda03f7 100644
---- a/test-data/stdlib-samples/3.2/random.py
-+++ b/test-data/stdlib-samples/3.2/random.py
-@@ -41,7 +41,7 @@ from types import MethodType as _MethodType, BuiltinMethodType as _BuiltinMethod
- from math import log as _log, exp as _exp, pi as _pi, e as _e, ceil as _ceil
- from math import sqrt as _sqrt, acos as _acos, cos as _cos, sin as _sin
- from os import urandom as _urandom
--from collections import Set as _Set, Sequence as _Sequence
-+from collections.abc import Set as _Set, Sequence as _Sequence
- from hashlib import sha512 as _sha512
-
- from typing import (
-diff --git a/test-data/unit/cmdline.test b/test-data/unit/cmdline.test
-index 92ef7e069..87d04f3c4 100644
---- a/test-data/unit/cmdline.test
-+++ b/test-data/unit/cmdline.test
-@@ -791,7 +791,7 @@ c.py:2: error: Argument 1 to "bar" has incompatible type "str"; expected "int"
- [case testSrcPEP420Packages]
- # cmd: mypy -p anamespace --namespace-packages
- [file mypy.ini]
--\[mypy]]
-+\[mypy]
- mypy_path = src
- [file src/setup.cfg]
- [file src/anamespace/foo/__init__.py]