This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sbt
Recipients Olivier.Grisel, brett.cannon, eric.snow, ncoghlan, pitrou, sbt
Date 2013-12-10.20:39:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386707979.6.0.907963286148.issue19946@psf.upfronthosting.co.za>
In-reply-to
Content
I guess this is a case where we should not be trying to import the main module.  The code for determining the path of the main module (if any) is rather crufty.

What is sys.modules['__main__'] and sys.modules['__main__'].__file__ if you run under nose?
History
Date User Action Args
2013-12-10 20:39:39sbtsetrecipients: + sbt, brett.cannon, ncoghlan, pitrou, eric.snow, Olivier.Grisel
2013-12-10 20:39:39sbtsetmessageid: <1386707979.6.0.907963286148.issue19946@psf.upfronthosting.co.za>
2013-12-10 20:39:39sbtlinkissue19946 messages
2013-12-10 20:39:39sbtcreate