perl/Module-Build-Tiny: update to 0.051 for Perl 5.36 and 5.38
[oi-userland.git] / components / python / ddt / patches / 02-no-aiounittest.patch
blob15f1ce09f438ceddd34417bf859b70721368684b
1 This reverts the following commit:
2 https://github.com/datadriventests/ddt/pull/112/commits/2d0f8a76dd27924830ebf3b708324924fb384c06
4 --- ddt-1.7.2/test/test_async.py.orig
5 +++ ddt-1.7.2/test/test_async.py
6 @@ -1,11 +1,11 @@
7 -import aiounittest
8 +import unittest
10 from ddt import ddt, data
11 from test.mycode import larger_than_two
14 @ddt
15 -class TestAsync(aiounittest.AsyncTestCase):
16 +class TestAsync(unittest.IsolatedAsyncioTestCase):
17 @data(3, 4, 12, 23)
18 async def test_larger_than_two(self, value):
19 self.assertTrue(larger_than_two(value))
20 --- ddt-1.7.2/tox.ini.orig
21 +++ ddt-1.7.2/tox.ini
22 @@ -6,7 +6,6 @@
23 pytest
24 pytest-cov
25 coverage
26 - aiounittest
27 flake8
28 six>=1.4.0
29 PyYAML