summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2015-12-05 06:18:29 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2015-12-05 06:18:29 (GMT)
commit2356069d94ace825895028a85e07959e6f7fda35 (patch)
tree4acd8d0f6362ac3a19541330c985bac137983f30 /Lib
parentac28b796d80f869f39662491446145106960a886 (diff)
parent6d8a26084541522495fdf3fa00875c144ea3450b (diff)
downloadcpython-2356069d94ace825895028a85e07959e6f7fda35.zip
cpython-2356069d94ace825895028a85e07959e6f7fda35.tar.gz
cpython-2356069d94ace825895028a85e07959e6f7fda35.tar.bz2
Issue #25800: Merge with 3.4
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_capi.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_capi.py b/Lib/test/test_capi.py
index eae3add..6a8685c 100644
--- a/Lib/test/test_capi.py
+++ b/Lib/test/test_capi.py
@@ -343,7 +343,8 @@ class Test6012(unittest.TestCase):
class EmbeddingTests(unittest.TestCase):
def setUp(self):
- basepath = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
+ here = os.path.abspath(__file__)
+ basepath = os.path.dirname(os.path.dirname(os.path.dirname(here)))
exename = "_testembed"
if sys.platform.startswith("win"):
ext = ("_d" if "_d" in sys.executable else "") + ".exe"