]> git.pld-linux.org Git - packages/python-whoosh.git/blob - python-whoosh-tests.patch
- added tests patch, pl, updated URLs
[packages/python-whoosh.git] / python-whoosh-tests.patch
1 --- Whoosh-2.7.4/src/whoosh/automata/fsa.py.orig        2020-04-13 09:02:27.928252783 +0200
2 +++ Whoosh-2.7.4/src/whoosh/automata/fsa.py     2020-04-13 09:02:37.254868923 +0200
3 @@ -44,7 +44,7 @@
4              return False
5          st = self.transitions
6          ot = other.transitions
7 -        if list(st) != list(ot):
8 +        if sorted(list(st)) != sorted(list(ot)):
9              return False
10          for key in st:
11              if st[key] != ot[key]:
12 --- Whoosh-2.7.4/tests/test_reading.py.orig     2020-04-13 09:23:57.521266458 +0200
13 +++ Whoosh-2.7.4/tests/test_reading.py  2020-04-13 09:24:01.774576749 +0200
14 @@ -1,3 +1,4 @@
15 +# coding=utf-8
16  from __future__ import with_statement
17  import random, threading, time
18  
19 --- Whoosh-2.7.4/setup.cfg.orig 2016-04-04 03:19:18.000000000 +0200
20 +++ Whoosh-2.7.4/setup.cfg      2020-04-13 09:25:13.170856629 +0200
21 @@ -15,7 +15,7 @@
22  push = sdist bdist_wheel upload
23  pushdocs = build_sphinx upload_sphinx
24  
25 -[pytest]
26 +[tool:pytest]
27  addopts = -rs --tb=native
28  norecursedirs = .hg .tox _build tmp* env* benchmark stress
29  minversion = 2.0
This page took 0.068482 seconds and 4 git commands to generate.