File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# -*- coding: utf-8 -*-
2+ import sys
23from .helper import check_evaluation , evaluate
34
45
@@ -19,12 +20,13 @@ def test_unprotected():
1920 check_evaluation (str_expr , str_expected , message )
2021
2122
22- def test_get_and_put ():
23- temp_filename = evaluate ('$TemporaryDirectory<>"/testfile"' ).to_python ()
24- temp_filename_strip = temp_filename [1 :- 1 ]
25- check_evaluation (f"40! >> { temp_filename_strip } " , "Null" )
26- check_evaluation (f"<< { temp_filename_strip } " , "40!" )
27- check_evaluation (f"DeleteFile[{ temp_filename } ]" , "Null" )
23+ if sys .platform not in ("win32" ,):
24+ def test_get_and_put ():
25+ temp_filename = evaluate ('$TemporaryDirectory<>"/testfile"' ).to_python ()
26+ temp_filename_strip = temp_filename [1 :- 1 ]
27+ check_evaluation (f"40! >> { temp_filename_strip } " , "Null" )
28+ check_evaluation (f"<< { temp_filename_strip } " , "40!" )
29+ check_evaluation (f"DeleteFile[{ temp_filename } ]" , "Null" )
2830
2931
3032# I do not know what is it supposed to test with this...
You can’t perform that action at this time.
0 commit comments