Temporarily ignore DeprecationWarning in get_event_loop() in tests
This commit is contained in:
parent
94e6de8860
commit
6be37c33e6
12
0003-ignore-get_event_loop-DeprecationWarning.patch
Normal file
12
0003-ignore-get_event_loop-DeprecationWarning.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/setup.cfg b/setup.cfg
|
||||||
|
index 3387720..fa69df8 100644
|
||||||
|
--- a/setup.cfg
|
||||||
|
+++ b/setup.cfg
|
||||||
|
@@ -10,6 +10,7 @@ testpaths = tests
|
||||||
|
filterwarnings =
|
||||||
|
error
|
||||||
|
ignore:the sets module:DeprecationWarning:jinja2.sandbox
|
||||||
|
+ ignore:There is no current event loop:DeprecationWarning
|
||||||
|
|
||||||
|
[coverage:run]
|
||||||
|
branch = True
|
@ -11,6 +11,8 @@ Source0: %{pypi_source}
|
|||||||
# cherry-picked patches to build with Python 3.10 (#1907442)
|
# cherry-picked patches to build with Python 3.10 (#1907442)
|
||||||
Patch1: 0001-add-linetable-to-the-preserved-CodeType-attributes-1.patch
|
Patch1: 0001-add-linetable-to-the-preserved-CodeType-attributes-1.patch
|
||||||
Patch2: 0002-native_concat-pass-only-strings-to-literal_eval.patch
|
Patch2: 0002-native_concat-pass-only-strings-to-literal_eval.patch
|
||||||
|
# temporarily ignore DeprecationWarning in get_event_loop() in tests
|
||||||
|
Patch3: 0003-ignore-get_event_loop-DeprecationWarning.patch
|
||||||
|
|
||||||
%if 0%{?fedora} || 0%{?rhel} > 7
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
||||||
# Enable python3 build by default
|
# Enable python3 build by default
|
||||||
|
Loading…
Reference in New Issue
Block a user