Show More
@@ -80,7 +80,7 b' def test_startup_py():' | |||||
80 | # write simple test file, to check that the startup file was run |
|
80 | # write simple test file, to check that the startup file was run | |
81 | fname = os.path.join(TMP_TEST_DIR, 'test.py') |
|
81 | fname = os.path.join(TMP_TEST_DIR, 'test.py') | |
82 | with open(fname, 'w') as f: |
|
82 | with open(fname, 'w') as f: | |
83 | f.write('print zzz\n') |
|
83 | f.write(py3compat.doctest_refactor_print('print zzz\n')) | |
84 | # validate output |
|
84 | # validate output | |
85 | tt.ipexec_validate(fname, '123', '', |
|
85 | tt.ipexec_validate(fname, '123', '', | |
86 | options=['--ipython-dir', IP_TEST_DIR, '--profile', 'test']) |
|
86 | options=['--ipython-dir', IP_TEST_DIR, '--profile', 'test']) | |
@@ -100,4 +100,4 b' def test_startup_ipy():' | |||||
100 | tt.ipexec_validate(fname, 'test', '', |
|
100 | tt.ipexec_validate(fname, 'test', '', | |
101 | options=['--ipython-dir', IP_TEST_DIR, '--profile', 'test']) |
|
101 | options=['--ipython-dir', IP_TEST_DIR, '--profile', 'test']) | |
102 |
|
102 | |||
103 | No newline at end of file |
|
103 |
General Comments 0
You need to be logged in to leave comments.
Login now