Package: python-sure
Version: 1.2.5-2
Severity: normal

Exception testing in python-sure is broken in version 1.2.5, when you
run something like this:

func.when.called_with(arg).should.throw(exp)

The arguments from 'called_with()' don't get passed to 'func()'.

You get an error like this:

TypeError: func expected at least 1 arguments, got 0

This results in problems with tests in other python Debian packages, for
example: Bug #746066 python-steadymark: FTBFS: Tests failures

Github bug report: https://github.com/gabrielfalcao/sure/issues/48

This commit on github fixes the bug:

https://github.com/gabrielfalcao/sure/commit/03e050c7f1e248ae690f6eec0b09f222278626ad

The most recent upstream version of python-sure, 1.2.7, has the fix.

https://pypi.python.org/packages/source/s/sure/sure-1.2.7.tar.gz

I was able to use uupdate from the devscripts package to update the
debian package to version 1.2.7 and build without problems.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-sure depends on:
ii  dpkg            1.17.18
ii  python          2.7.8-1
ii  python-nose     1.3.4-1
ii  python-rednose  0.4.1-1
ii  python-six      1.8.0-1

python-sure recommends no packages.

python-sure suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to