projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df11a6a
)
Use realpath to resolve __file__ when searching for test inside main().
author
Zac Medico
<zmedico@gentoo.org>
Thu, 6 Aug 2009 05:47:03 +0000
(
05:47
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 6 Aug 2009 05:47:03 +0000
(
05:47
-0000)
svn path=/main/trunk/; revision=13928
pym/portage/tests/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/tests/__init__.py
b/pym/portage/tests/__init__.py
index 7f207a2d0f2d3380482d896b3f8492b9c4cf8614..8676c6ae25253b2cadeeb1602fc578e615b40c93 100644
(file)
--- 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