jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / python / python37 / patches / 40-skip-test_readline.patch
blob4c33690d117928107f0d45ed579555927bd9ae38
1 The test_readline stalls for an unknown reason on OpenIndiana as of March 7th, 2021
2 with readline-6.3. So we skip this test for now.
4 --- Python-3.7.7/Lib/test/test_readline.py.orig 2020-03-10 07:11:12.000000000 +0000
5 +++ Python-3.7.7/Lib/test/test_readline.py 2021-03-07 14:24:39.840324562 +0000
6 @@ -33,6 +33,8 @@
7 print(f"readline library version: {readline._READLINE_LIBRARY_VERSION!r}")
8 print(f"use libedit emulation? {is_editline}")
10 +if sys.platform.startswith("sunos"):
11 + raise unittest.SkipTest("test doesn't work well on OpenIndiana with readline-6.3")
13 @unittest.skipUnless(hasattr(readline, "clear_history"),
14 "The history update test cannot be run because the "