Package: python3-nose
Version: 1.1.2-2

Some exceptions in test generators make nosetests3 produce unhelpful traceback:

| $ nosetests3
| E
| ======================================================================
| ERROR: Failure: UnicodeEncodeError ('ascii' codec can't encode character 
'\xf1' in position 0: ordinal not in range(128))
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/usr/lib/python3/dist-packages/nose/failure.py", line 37, in runTest
|     raise self.exc_class(self.exc_val).with_traceback(self.tb)
| TypeError: function takes exactly 5 arguments (1 given)
|
| ----------------------------------------------------------------------
| Ran 1 test in 0.004s
|
| FAILED (errors=1)


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)

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

Versions of packages python3-nose depends on:
ii  python3                3.2.2-1
ii  python3-pkg-resources  0.6.24-1
ii  python3.2              3.2.3~rc1-1

--
Jakub Wilk
def test_foo():
    raise '\xf1'.encode('ASCII')
    yield

Reply via email to