@@ -59,8 +59,8 @@ def test_external_communication(self):
5959 self .repl .send_current_block_to_external_editor ()
6060 self .repl .send_session_to_external_editor ()
6161
62- @unittest .skipIf ( not all (map (config .can_encode , 'å∂߃' )),
63- 'Charset can not encode characters' )
62+ @unittest .skipUnless ( all (map (config .can_encode , 'å∂߃' )),
63+ 'Charset can not encode characters' )
6464 def test_external_communication_encoding (self ):
6565 with captured_output ():
6666 self .repl .display_lines .append ('>>> "åß∂ƒ"' )
@@ -291,15 +291,15 @@ def assert_pager_gets_unicode(self, text):
291291 def test_help (self ):
292292 self .repl .pager (self .repl .help_text ())
293293
294- @unittest .skipIf ( not all (map (config .can_encode , 'å∂߃' )),
295- 'Charset can not encode characters' )
294+ @unittest .skipUnless ( all (map (config .can_encode , 'å∂߃' )),
295+ 'Charset can not encode characters' )
296296 def test_show_source_not_formatted (self ):
297297 self .repl .config .highlight_show_source = False
298298 self .repl .get_source_of_current_name = lambda : 'source code å∂߃åß∂ƒ'
299299 self .repl .show_source ()
300300
301- @unittest .skipIf ( not all (map (config .can_encode , 'å∂߃' )),
302- 'Charset can not encode characters' )
301+ @unittest .skipUnless ( all (map (config .can_encode , 'å∂߃' )),
302+ 'Charset can not encode characters' )
303303 def test_show_source_formatted (self ):
304304 self .repl .config .highlight_show_source = True
305305 self .repl .get_source_of_current_name = lambda : 'source code å∂߃åß∂ƒ'
0 commit comments