aboutsummaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-whoosh/0001-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch
blob: 91fea245248ca2eba2b50d133a78ec83267c9739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From ede95a4f4487b4fc3cad8452ae388376966fca0e Mon Sep 17 00:00:00 2001
From: Chris Lamb <lamby@debian.org>
Date: Fri, 5 Apr 2019 15:48:23 +0200
Subject: [PATCH] Mark non-determinstic test_minimize_dfa test as XFAIL

Sourced from Debian [1]
[1] https://sources.debian.org/src/python-whoosh/2.7.4%2Bgit6-g9134ad92-8/debian/patches/0003-Mark-non-determinstic-test_minimize_dfa-test-as-XFAI.patch/

Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 tests/test_automata.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test_automata.py b/tests/test_automata.py
index daab96c..7031dc3 100644
--- a/tests/test_automata.py
+++ b/tests/test_automata.py
@@ -327,6 +327,7 @@ def test_regular():
     assert not ex.accept("bc")
 
 
+@pytest.mark.xfail(strict=False)
 def test_minimize_dfa():
     # Example from www.cs.odu.edu/~toida/nerzic/390teched/regular/fa/min-fa.html
 
-- 
2.44.0