[packages/python3-chardet: 1/2] - try to disable failing test https://github.com/chardet/chardet/issues/256
witekfl
witekfl at pld-linux.org
Sun Mar 16 14:38:04 CET 2025
commit 7f64b5845f4a91ed49841d227cbf47f7adc59737
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Mar 16 13:50:02 2025 +0100
- try to disable failing test https://github.com/chardet/chardet/issues/256
failtest.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/failtest.patch b/failtest.patch
new file mode 100644
index 0000000..cd3d2df
--- /dev/null
+++ b/failtest.patch
@@ -0,0 +1,12 @@
+diff -up chardet-5.2.0/test.py.orig chardet-5.2.0/test.py
+--- chardet-5.2.0/test.py.orig 2023-08-01 21:07:52.000000000 +0200
++++ chardet-5.2.0/test.py 2025-03-16 13:45:55.674846256 +0100
+@@ -223,7 +223,7 @@ if HAVE_HYPOTHESIS:
+ st.randoms(),
+ )
+ @settings(max_examples=200)
+- def test_detect_all_and_detect_one_should_agree(txt, enc, _):
++ def fail_test_detect_all_and_detect_one_should_agree(txt, enc, _):
+ try:
+ data = txt.encode(enc)
+ except UnicodeEncodeError:
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-chardet.git/commitdiff/94ce21493df4d374ba13beb6f4d5a8f681bb013e
More information about the pld-cvs-commit
mailing list