[Zope-dev] zope.index 3.5.2 broken

Tres Seaver tseaver at palladion.com
Sun Aug 2 17:19:53 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andreas Jung wrote:
> Hi,
> 
> the doctests for zope.index 3.5.2 - as used in Zope 2.12  - fail badly:
> 
> File
> "/home/ajung/.buildout/eggs/zope.index-3.5.2-py2.6-linux-x86_64.egg/zope/index/text/tests/../textindex.txt",
> line 143, in textindex.txt
> Failed example:
>     [(k, "%.4f" % v) for (k, v) in index2.apply("Zorro").items()] == result
> Expected:
>     True
> Got:
>     False
> 
> Thoughts?

Shoot that test:  it sucks both as a test and as documentation.



Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKdgL4+gerLs4ltQ4RAntBAJ0eC3YcZxxDh8qw2hIRSFK2UA1Q1wCghbn+
+eMTXYnbaDt0cmHAbTyYgmY=
=uVOK
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list