tests: don't assume anything about sys.excepthookd9ddad7bcac86d37a9010c8cd529a0e6ca1a9f48
commitd9ddad7bcac86d37a9010c8cd529a0e6ca1a9f48
authorChristoph Reiter <reiter.christoph@gmail.com>
Fri, 17 Aug 2018 21:35:33 +0000 (17 23:35 +0200)
committerChristoph Reiter <reiter.christoph@gmail.com>
Fri, 17 Aug 2018 21:35:33 +0000 (17 23:35 +0200)
treed8a15c6f69f82fbbf6214f4926824f53bca4de48
parent2fc510f385f6b073a3f9b30da7743e5a695083e8
tests: don't assume anything about sys.excepthook

On Ubuntu (at least the 18.10 dev version) sys.excepthook is some apport_excepthook
object and not the default Python one. Our pytest extension was checking
that sys.excepthook is the default which made every test fail as a result.

Be less strict and don't assume anything about sys.excepthook instead.
tests/conftest.py