Change os to shutils

This commit is contained in:
Matt Guthaus 2018-11-10 10:06:33 -08:00
parent 3b6b93e2ca
commit 65b6bfd5e7
1 changed files with 2 additions and 1 deletions

View File

@ -38,7 +38,8 @@ class openram_test(unittest.TestCase):
if result != 0:
new_file = "/tmp/"+a.name+".gds"
debug.info(0,"Copying failed file to {}".format(new_file))
os.copy(tempgds, newfile)
import shutil
shutil.copy(tempgds, newfile)
self.fail("DRC failed: {}".format(a.name))