Blame SOURCES/fix_tests.patch
|
rdobuilder |
74698f |
--- tests/test_datastructures.py.orig 2021-05-11 07:09:47.475789063 +0000
|
|
rdobuilder |
74698f |
+++ tests/test_datastructures.py 2021-05-11 07:10:04.505789063 +0000
|
|
rdobuilder |
74698f |
@@ -1235,6 +1235,7 @@
|
|
rdobuilder |
74698f |
for name in ("fileno", "writable", "readable", "seekable"):
|
|
rdobuilder |
74698f |
assert hasattr(file_storage, name)
|
|
rdobuilder |
74698f |
|
|
rdobuilder |
74698f |
+ @pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")
|
|
rdobuilder |
74698f |
def test_save_to_pathlib_dst(self, tmp_path):
|
|
rdobuilder |
74698f |
src = tmp_path / "src.txt"
|
|
rdobuilder |
74698f |
src.write_text(u"test")
|
|
rdobuilder |
74698f |
--- tests/test_formparser.py.orig 2021-05-11 07:09:58.941789063 +0000
|
|
rdobuilder |
74698f |
+++ tests/test_formparser.py 2021-05-11 07:10:04.505789063 +0000
|
|
rdobuilder |
74698f |
@@ -239,7 +239,7 @@
|
|
rdobuilder |
74698f |
stream, _, _ = parser.parse_from_environ({"wsgi.input": ""})
|
|
rdobuilder |
74698f |
assert stream is not None
|
|
rdobuilder |
74698f |
|
|
rdobuilder |
74698f |
-
|
|
rdobuilder |
74698f |
+@pytest.mark.filterwarnings("ignore::pytest.PytestUnraisableExceptionWarning")
|
|
rdobuilder |
74698f |
class TestMultiPart(object):
|
|
rdobuilder |
74698f |
def test_basic(self):
|
|
rdobuilder |
74698f |
resources = join(dirname(__file__), "multipart")
|