1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-22 18:55:29 +03:00
aports/community/py3-twisted/skip-failing-test.patch

24 lines
840 B
Diff

Taken from https://github.com/twisted/twisted/pull/1523/commits
diff --git a/src/twisted/web/test/test_http.py b/src/twisted/web/test/test_http.py
index 5488494..2e0beec 100644
--- a/src/twisted/web/test/test_http.py
+++ b/src/twisted/web/test/test_http.py
@@ -9,6 +9,7 @@ Test HTTP support.
import base64
import calendar
import random
+import sys
import hamcrest
@@ -2319,6 +2320,9 @@ ok
class QueryArgumentsTests(unittest.TestCase):
+ # FIXME: https://twistedmatrix.com/trac/ticket/10096
+ # Re-enable once the implementation is updated.
+ @skipIf(sys.version_info >= (3, 6), "newer py3.6 parse_qs treat ; differently")
def testParseqs(self):
self.assertEqual(parse_qs(b"a=b&d=c;+=f"), http.parse_qs(b"a=b&d=c;+=f"))
self.assertRaises(ValueError, http.parse_qs, b"blah", strict_parsing=True)