diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-11-29 09:45:23 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-11-29 09:45:23 +0100 |
commit | 82dc173bdc679626aea9748ccd26a8bc4df20d23 (patch) | |
tree | 4347a8b880aba7eee98b9b2e41ffb1c7ce516c0f /dev-python/urwid/files | |
parent | dev-python/pycairo: Remove old (diff) | |
download | gentoo-82dc173bdc679626aea9748ccd26a8bc4df20d23.tar.gz gentoo-82dc173bdc679626aea9748ccd26a8bc4df20d23.tar.bz2 gentoo-82dc173bdc679626aea9748ccd26a8bc4df20d23.zip |
dev-python/urwid: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/urwid/files')
-rw-r--r-- | dev-python/urwid/files/urwid-2.1.2-fix-py3.11.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/dev-python/urwid/files/urwid-2.1.2-fix-py3.11.patch b/dev-python/urwid/files/urwid-2.1.2-fix-py3.11.patch deleted file mode 100644 index dd60b8a220b9..000000000000 --- a/dev-python/urwid/files/urwid-2.1.2-fix-py3.11.patch +++ /dev/null @@ -1,26 +0,0 @@ -https://github.com/urwid/urwid/pull/517 -From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= <mail@dotlambda.de> -Date: Fri, 20 Jan 2023 11:37:15 -0800 -Subject: [PATCH] make tests compatible with Python 3.11 - ---- a/urwid/tests/test_event_loops.py -+++ b/urwid/tests/test_event_loops.py -@@ -201,15 +201,14 @@ def test_error(self): - evl.alarm(0.5, lambda: 1 / 0) # Simulate error in event loop - self.assertRaises(ZeroDivisionError, evl.run) - -- def test_coroutine_error(self): -+ async def test_coroutine_error(self): - evl = self.evl - -- @asyncio.coroutine -- def error_coro(): -+ async def error_coro(): - result = 1 / 0 # Simulate error in coroutine - yield result - -- asyncio.ensure_future(error_coro()) -+ asyncio.ensure_future(await error_coro()) - self.assertRaises(ZeroDivisionError, evl.run) - - |