File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ import os
99
99
__JUPY_saved_dir = os.getcwd()
100
100
os.chdir(\" %s \" )
101
101
try:
102
- get_ipython().run_cell(\"\"\" %s \"\"\" )
102
+ get_ipython().run_cell(r \"\"\" %s \"\"\" )
103
103
finally:
104
104
os.chdir(__JUPY_saved_dir) "
105
105
(plist-get changelist :dir ) code)))
Original file line number Diff line number Diff line change @@ -2857,7 +2857,12 @@ os.path.abspath(os.getcwd())"
2857
2857
(concat " : "
2858
2858
(funcall convert-path
2859
2859
(expand-file-name
2860
- (directory-file-name default-directory))) " \n " ))))))
2860
+ (directory-file-name default-directory))) " \n " )))
2861
+ (ert-info (" Transformed code and backslashes" )
2862
+ ; ; See #302
2863
+ (jupyter-org-test-src-block
2864
+ " print(r\" \\ r\" )"
2865
+ " : \\ r\n " )))))
2861
2866
2862
2867
(ert-deftest jupyter-org--find-mime-types ()
2863
2868
:tags '(org mime)
You can’t perform that action at this time.
0 commit comments