[Xapian-tickets] [Xapian] #690: python 3.5: smoketest.py fails due to changed AttributeError description text

Xapian nobody at xapian.org
Sun Oct 4 21:08:56 BST 2015


#690: python 3.5: smoketest.py fails due to changed AttributeError description
text
--------------------------------------+----------------------------
 Reporter:  ususdei                   |             Owner:  richard
     Type:  defect                    |            Status:  new
 Priority:  normal                    |         Milestone:  1.3.x
Component:  Xapian-bindings (Python)  |           Version:  1.3.2
 Severity:  normal                    |        Resolution:
 Keywords:                            |        Blocked By:
 Blocking:                            |  Operating System:  All
--------------------------------------+----------------------------
Description changed by olly:

Old description:

> File: xapian-bindings/python3/smoketest.py
>
> The description of AttributeError on modules has been changed, e.g. from
>
> "object 'module' has not attribute %s"
>
> to
>
> "module 'xapian' has no attribute %s"
>
> This leads to smoketest.py unneccessarily failing under python 3.5.
> Maybe expect_exception() should be slightly less restrictive?

New description:

 File: xapian-bindings/python3/smoketest.py

 The description of AttributeError on modules has been changed, e.g. from

 "object 'module' has no attribute %s"

 to

 "module 'xapian' has no attribute %s"

 This leads to smoketest.py unneccessarily failing under python 3.5.
 Maybe expect_exception() should be slightly less restrictive?

--

--
Ticket URL: <http://trac.xapian.org/ticket/690#comment:3>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list