##// END OF EJS Templates
Make test of %run more rigorous.
Thomas Kluyver -
Show More
@@ -196,12 +196,15 b' class TestMagicRunSimple(tt.TempFileMixin):'
196 196 mydir = os.path.dirname(__file__)
197 197 tc = os.path.join(mydir, 'tclass')
198 198 src = ("%%run '%s' C-first\n"
199 "%%run '%s' C-second\n") % (tc, tc)
199 "%%run '%s' C-second\n"
200 "%%run '%s' C-third\n") % (tc, tc, tc)
200 201 self.mktmp(src, '.ipy')
201 202 out = """\
202 203 ARGV 1-: [u'C-first']
203 204 ARGV 1-: [u'C-second']
204 205 tclass.py: deleting object: C-first
206 ARGV 1-: [u'C-third']
205 207 tclass.py: deleting object: C-second
208 tclass.py: deleting object: C-third
206 209 """
207 210 tt.ipexec_validate(self.fname, out)
General Comments 0
You need to be logged in to leave comments. Login now