summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2015-12-05 06:19:08 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2015-12-05 06:19:08 (GMT)
commit6dece97768c4cde32a42ac12b0195bf6f9073578 (patch)
treeac509857677c6dce6491c6df748a3ba488eb9a3c /Lib
parentaa0780801c7a53760296de5c7c9ee0fe6562b6bc (diff)
parent2356069d94ace825895028a85e07959e6f7fda35 (diff)
downloadcpython-6dece97768c4cde32a42ac12b0195bf6f9073578.zip
cpython-6dece97768c4cde32a42ac12b0195bf6f9073578.tar.gz
cpython-6dece97768c4cde32a42ac12b0195bf6f9073578.tar.bz2
Closes #25800: Merge with 3.5
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"