I confirmed that reverting the first hunk of http://bugs.python.org/file32304/unittest_loader_symlinks.patch inline on my system fixes this regression.
** Changed in: python2.7 (Ubuntu) Assignee: (unassigned) => Barry Warsaw (barry) -- 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