Made it safe to re-import a Python module, allowing

the same test to be run multiple times in the same
session.

llvm-svn: 155511
This commit is contained in:
Sean Callanan 2012-04-25 00:21:42 +00:00
parent 45034810aa
commit 374bd0c9e5
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class Issue11581TestCase(TestBase):
self.runCmd("next", RUN_SUCCEEDED)
self.runCmd("next", RUN_SUCCEEDED)
self.runCmd("command script import s11588.py")
self.runCmd("command script import --allow-reload s11588.py")
self.runCmd("type synthetic add --python-class s11588.Issue11581SyntheticProvider StgClosure")
self.expect("print *((StgClosure*)(r14-1))",