File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/sphinxcontrib/programoutput/tests Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -394,8 +394,9 @@ def test_bytes_prompt_with_unicode_output(self):
394394 'echo "U+2264 ≤ LESS-THAN OR EQUAL TO"' ,
395395 'U+2264 ≤ LESS-THAN OR EQUAL TO' )
396396
397+
397398 @with_content ("""\
398- .. program-output:: echo -e "U+2264 ≤ LESS-THAN OR EQUAL TO\\ n≤ line2\\ n≤ line3"
399+ .. program-output:: python -c 'print( "U+2264 ≤ LESS-THAN OR EQUAL TO\\ n≤ line2\\ n≤ line3")'
399400 :ellipsis: 2
400401 """ )
401402 def test_unicode_output_with_ellipsis (self ):
@@ -405,7 +406,7 @@ def test_unicode_output_with_ellipsis(self):
405406 )
406407 self .assert_cache (
407408 self .app ,
408- 'echo -e "U+2264 ≤ LESS-THAN OR EQUAL TO\\ n≤ line2\\ n≤ line3"' ,
409+ f" { sys . executable } -c 'print( \ " U+2264 ≤ LESS-THAN OR EQUAL TO\\ n≤ line2\\ n≤ line3\" )'" ,
409410 'U+2264 \u2264 LESS-THAN OR EQUAL TO\n \u2264 line2\n \u2264 line3'
410411 )
411412
You can’t perform that action at this time.
0 commit comments