14
0
Files
python-webassets/webassets-py39-threading.patch
Steve Kowalik 1df81520fd Accepting request 888636 from home:bnavigator:branches:devel:languages:python
- Add webassets-py39-threading.patch -- gh#miracle2k/webassets#529
- Add remove-nose.patch -- gh#miracle2k/webassets#539
- Install some filter packages for test suite

OBS-URL: https://build.opensuse.org/request/show/888636
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-webassets?expand=0&rev=11
2021-04-27 05:19:24 +00:00

23 lines
805 B
Diff

From a563935df6702ff5e38e5b84a262c295e4cdf455 Mon Sep 17 00:00:00 2001
From: Karthikeyan Singaravelan <tir.karthi@gmail.com>
Date: Wed, 22 Jan 2020 00:49:31 +0530
Subject: [PATCH] Use is_alive instead of isAlive for Python 3.9 compatibility.
---
tests/test_script.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test_script.py b/tests/test_script.py
index a83bc07f..d17a83bb 100644
--- a/tests/test_script.py
+++ b/tests/test_script.py
@@ -192,7 +192,7 @@ def start_watching(self):
def stop_watching(self):
"""Stop the watch command thread."""
- assert self.t.isAlive() # If it has already ended, something is wrong
+ assert self.t.is_alive() # If it has already ended, something is wrong
self.stopped = True
self.t.join(1)