mirror of https://github.com/VLSIDA/OpenRAM.git
Change os to shutils
This commit is contained in:
parent
3b6b93e2ca
commit
65b6bfd5e7
|
|
@ -38,7 +38,8 @@ class openram_test(unittest.TestCase):
|
||||||
if result != 0:
|
if result != 0:
|
||||||
new_file = "/tmp/"+a.name+".gds"
|
new_file = "/tmp/"+a.name+".gds"
|
||||||
debug.info(0,"Copying failed file to {}".format(new_file))
|
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))
|
self.fail("DRC failed: {}".format(a.name))
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue