Ticket #361 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

basket.py (regression test) crashes

Reported by: blaz Owned by: janez
Milestone: Future Component: library
Severity: immediate Keywords:
Cc: Blocking:
Blocked By:


Testna skripta doc/reference/basket.py najde bug:

Sentences in 'inquisition'
[], {"nobody":1.000, "expects":1.000, "the":1.000, "Spanish":1.000, "Inquisition":5.000}
[], {"our":1.000, "chief":1.000, "weapon":1.000, "is":1.000, "surprise":6.000, "and":2.000
, "fear":2.000}
[], {"our":1.000, "two":1.000, "weapons":1.000, "are":1.000, "fear":1.000, "and":2.000, "s
urprise":1.000, "ruthless":1.000, "efficiency":1.000}
[], {"our":1.000, "three":1.000, "weapons":1.000, "are":1.000, "fear":1.000, "surprise":1.
000, "and":2.000, "ruthless":1.000, "efficiency":1.000, "an":1.000, "almost":1.000, "fanat
ical":1.000, "devotion":1.000, "to":1.000, "the":1.000, "Pope":1.000}
[], {"our":1.000, "four":1.000, "no":1.000}
[], {"amongst":1.000, "our":1.000, "weapons":1.000}
[], {"amongst":1.000, "our":1.000, "weaponry":1.000, "are":1.000, "such":1.000, "elements"
:1.000, "as":1.000, "fear":1.000, "surprise":1.000}
[], {"I'll":1.000, "come":1.000, "in":1.000, "again":1.000}
[], {"nobody":1.000, "expects":1.000, "the":1.000, "Spanish":1.000, "Inquisition":1.000}
[], {"amongst":1.000, "our":1.000, "weaponry":1.000, "are":1.000, "such":1.000, "diverse":
1.000, "elements":1.000, "as":1.000, "fear":1.000, "surprise":1.000, "ruthless":1.000, "ef
ficiency":1.000, "an":1.000, "almost":1.000, "fanatical":1.000, "devotion":1.000, "to":1.0
00, "the":1.000, "Pope":1.000, "and":1.000, "nice":1.000, "red":1.000, "uniforms":1.000, "
oh damn":1.000}
[(-27, <orange.Value 'no'='1.000'>), (-26, <orange.Value 'four'='1.000'>), (-7, <orange.Va
lue 'our'='1.000'>)]
Traceback (most recent call last):
  File "basket.py", line 31, in <module>
TypeError: invalid type for argument 'optional' (expected int, got 'type')

Change History

comment:1 Changed 4 years ago by janez

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.