import_package defines a signal handler violating test isolation

Bug #902135 reported by Vincent Ladeuil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Distributed Development
Confirmed
Medium
Unassigned

Bug Description

Long story short:
- import_package defines a signal handler
- interrupting selftest.py outputs a traceback ending in import_package.py
- heart attack: OMG! Real imports triggered in unrelated tests ! Wtf ?

Setting importance to medium as this is only a minor inconvenience for now and has been the case since import_package is imported by selftest.

This may need to be bumped as it will cause problems if we write more tests (not to mention that mass_import also defines the same signal handler ;)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.