Show More
@@ -40,6 +40,7 b' def test_ipython_embed():' | |||||
40 | with NamedFileInTemporaryDirectory('file_with_embed.py') as f: |
|
40 | with NamedFileInTemporaryDirectory('file_with_embed.py') as f: | |
41 | f.write(_sample_embed) |
|
41 | f.write(_sample_embed) | |
42 | f.flush() |
|
42 | f.flush() | |
|
43 | f.close() # otherwise msft won't be able to read the file | |||
43 |
|
44 | |||
44 | # run `python file_with_embed.py` |
|
45 | # run `python file_with_embed.py` | |
45 | cmd = [sys.executable, f.name] |
|
46 | cmd = [sys.executable, f.name] |
General Comments 0
You need to be logged in to leave comments.
Login now