diff options
author | Leo <thinkabit.ukim@gmail.com> | 2021-04-05 20:34:11 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2021-04-05 20:34:11 -0300 |
commit | 73da9eb7c84ef30f3661c0cf940e012ed0311ca5 (patch) | |
tree | 0bdde1be21565681ebecac5d525ed109186a862e | |
parent | f43f83368d3ac5f30c93dac54829c1b5951d769c (diff) |
community/py3-twisted: skip failing test
-rw-r--r-- | community/py3-twisted/APKBUILD | 4 | ||||
-rw-r--r-- | community/py3-twisted/skip-failing-test.patch | 24 |
2 files changed, 27 insertions, 1 deletions
diff --git a/community/py3-twisted/APKBUILD b/community/py3-twisted/APKBUILD index e7f6fe9dd63..727ba37ce4f 100644 --- a/community/py3-twisted/APKBUILD +++ b/community/py3-twisted/APKBUILD @@ -13,6 +13,7 @@ checkdepends="xvfb-run py3-appdirs tzdata py3-asn1 py3-bcrypt" subpackages="$pkgname-doc" source="https://github.com/twisted/twisted/archive/twisted-$pkgver.tar.gz disable-test-missing-ckeygen.patch + skip-failing-test.patch " builddir="$srcdir"/twisted-twisted-$pkgver @@ -73,4 +74,5 @@ doc() { } sha512sums="fa743dcf22f3c17dfd17f39b7df0cc31fb8ce3e989478ada9a026424ec2de35e6a403ef35acdef5905eed008d42e3c2fee6b7ccdda433e6c250f1feaa83ea8a4 twisted-21.2.0.tar.gz -a39c0f6615699bfbed13411cc6990756ce0e25dcd9d21dfce83b130ab8d0adeeb1e7fca1577732b02c886da52eeddd121987f861418ad85f93907e5a47bfcf02 disable-test-missing-ckeygen.patch" +a39c0f6615699bfbed13411cc6990756ce0e25dcd9d21dfce83b130ab8d0adeeb1e7fca1577732b02c886da52eeddd121987f861418ad85f93907e5a47bfcf02 disable-test-missing-ckeygen.patch +0e2079a3d2790513b14de8803f42592ca638d0d9911ced0a60313efcdee41a9a159840aa9312cbc1bad6469a73aa706ca2f5a076952ad072158eca0a7664cdf9 skip-failing-test.patch" diff --git a/community/py3-twisted/skip-failing-test.patch b/community/py3-twisted/skip-failing-test.patch new file mode 100644 index 00000000000..7cb2aa1c4d8 --- /dev/null +++ b/community/py3-twisted/skip-failing-test.patch @@ -0,0 +1,24 @@ +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) |