@@ -2696,6 +2696,7 @@ def detach_readline(self):
26962696 else :
26972697 yield
26982698
2699+ @unittest .expectedFailure # TODO: RUSTPYTHON; AssertionError: got 0 lines in pipe but expected 2, child output was: quux
26992700 def test_input_tty (self ):
27002701 # Test input() functionality when wired to a tty
27012702 self .check_input_tty ("prompt" , b"quux" )
@@ -2710,17 +2711,20 @@ def test_input_tty_non_ascii_unicode_errors(self):
27102711 # Check stdin/stdout error handler is used when invoking PyOS_Readline()
27112712 self .check_input_tty ("prompté" , b"quux\xe9 " , "ascii" )
27122713
2714+ @unittest .expectedFailure # TODO: RUSTPYTHON; AssertionError: got 0 lines in pipe but expected 2, child output was: quux
27132715 def test_input_tty_null_in_prompt (self ):
27142716 self .check_input_tty ("prompt\0 " , b"" ,
27152717 expected = 'ValueError: input: prompt string cannot contain '
27162718 'null characters' )
27172719
2720+ @unittest .expectedFailure # TODO: RUSTPYTHON; AssertionError: got 0 lines in pipe but expected 2, child output was: quux
27182721 def test_input_tty_nonencodable_prompt (self ):
27192722 self .check_input_tty ("prompté" , b"quux" , "ascii" , stdout_errors = 'strict' ,
27202723 expected = "UnicodeEncodeError: 'ascii' codec can't encode "
27212724 "character '\\ xe9' in position 6: ordinal not in "
27222725 "range(128)" )
27232726
2727+ @unittest .expectedFailure # TODO: RUSTPYTHON; AssertionError: got 0 lines in pipe but expected 2, child output was: quux
27242728 def test_input_tty_nondecodable_input (self ):
27252729 self .check_input_tty ("prompt" , b"quux\xe9 " , "ascii" , stdin_errors = 'strict' ,
27262730 expected = "UnicodeDecodeError: 'ascii' codec can't decode "
0 commit comments