[Bug 491963] Re: MIR for genshi.

Martin Pitt martin.pitt at ubuntu.com
Thu Dec 10 17:21:18 UTC 2009


Looks mostly okay to me. Is that used by an actual server application
package? It seems a bit weird to seed a package like that if it's not
used by anything.

The test suite should be enabled during build, and fail the build on
failure.

I ran it here and got two errors:

$ ./setup.py test

[...]
======================================================================
FAIL: Doctest: genshi.template.eval.Undefined
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.6/doctest.py", line 2145, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for genshi.template.eval.Undefined
  File "/tmp/genshi-0.5.1/genshi/template/eval.py", line 221, in Undefined

----------------------------------------------------------------------
File "/tmp/genshi-0.5.1/genshi/template/eval.py", line 232, in genshi.template.eval.Undefined
Failed example:
    list(foo)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.6/doctest.py", line 1241, in __run
        compileflags, 1) in test.globs
      File "<doctest genshi.template.eval.Undefined[2]>", line 1, in <module>
        list(foo)
      File "/tmp/genshi-0.5.1/genshi/template/eval.py", line 279, in _die
        raise UndefinedError(self._name, self._owner)
    UndefinedError: "foo" not defined


----------------------------------------------------------------------
Ran 724 tests in 2.946s

FAILED (failures=1)

Can this please be fixed first? (Please also send to Debian, running
tests is good and also catches architecture specifc errors).

Thanks!

** Changed in: genshi (Ubuntu)
       Status: New => Incomplete

** Changed in: genshi (Ubuntu)
     Assignee: Martin Pitt (pitti) => Chuck Short (zulcss)

-- 
MIR for genshi.
https://bugs.launchpad.net/bugs/491963
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list