Looks like fallout from http://bugs.python.org/issue19352 which landed in https://launchpad.net/ubuntu/+source/python2.7/2.7.6-2.
Simple reproducer on a current trusty desktop with python-lazr.uri installed: $ python -m unittest discover lazr ** Summary changed: - Python program (autopilot) crashing with ImportError in _find_tests(): 'test_switcher' module incorrectly imported from 'xxx'. Expected 'xxx. Is this module globally installed? + unittest discover crashes with: module incorrectly imported from 'xxx'. Expected 'xxx. Is this module globally installed? ** Bug watch added: Python Roundup #19352 http://bugs.python.org/issue19352 ** Changed in: python2.7 (Ubuntu) Importance: Undecided => Critical ** Changed in: python2.7 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1255505 Title: unittest discover crashes with: module incorrectly imported from 'xxx'. Expected 'xxx. Is this module globally installed? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1255505/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs