From e3c287875ccd85022d480cd8168ce48370897824 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 6 Aug 2009 05:47:03 +0000 Subject: Use realpath to resolve __file__ when searching for test inside main(). svn path=/main/trunk/; revision=13928 --- pym/portage/tests/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') diff --git a/pym/portage/tests/__init__.py b/pym/portage/tests/__init__.py index 7f207a2d0..8676c6ae2 100644 --- a/pym/portage/tests/__init__.py +++ b/pym/portage/tests/__init__.py @@ -12,7 +12,7 @@ def main(): TEST_FILE = '__test__' suite = unittest.TestSuite() - basedir = os.path.dirname(__file__) + basedir = os.path.dirname(os.path.realpath(__file__)) testDirs = [] # the os.walk help mentions relative paths as being quirky -- cgit v1.2.3-1-g7c22