Commit e117eeac authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Jérome Perrin

test: always copy custom_zodb.py, otherwise Python 3 incompatible one remains forever.

parent 7160a690
......@@ -214,9 +214,8 @@ def initializeInstanceHome(tests_framework_home,
else:
os.symlink(src, d)
d = 'custom_zodb.py'
if not os.path.exists(d):
src = os.path.join(tests_framework_home, d)
if os.path.islink(d):
if os.path.exists(d):
os.remove(d)
if WIN:
shutil.copy(src, d)
......
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