Commit cc1022d3 authored by Fred Drake's avatar Fred Drake

Simplify the path math used to make sure we can pick up unittest.

parent 3b2953df
......@@ -3,7 +3,7 @@
import os
import sys
mydir = os.path.abspath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
mydir = os.path.abspath(os.path.dirname(__file__))
codedir = os.path.dirname(os.path.dirname(mydir))
if codedir not in sys.path:
......
......@@ -3,7 +3,7 @@
import os
import sys
mydir = os.path.abspath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
mydir = os.path.abspath(os.path.dirname(__file__))
codedir = os.path.dirname(os.path.dirname(mydir))
if codedir not in sys.path:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment