File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -940,8 +940,6 @@ def test_relative_seek(self):
940
940
def test_seek (self ):
941
941
super ().test_seek ()
942
942
943
- # TODO: RUSTPYTHON
944
- @unittest .expectedFailure
945
943
def test_textio_properties (self ):
946
944
super ().test_textio_properties ()
947
945
@@ -1046,8 +1044,6 @@ def test_newlines_property(self):
1046
1044
def test_relative_seek (self ):
1047
1045
super ().test_relative_seek ()
1048
1046
1049
- # TODO: RUSTPYTHON
1050
- @unittest .expectedFailure
1051
1047
def test_textio_properties (self ):
1052
1048
super ().test_textio_properties ()
1053
1049
Original file line number Diff line number Diff line change @@ -738,6 +738,11 @@ mod _io {
738
738
fn encoding ( _zelf : PyObjectRef , vm : & VirtualMachine ) -> PyObjectRef {
739
739
vm. ctx . none ( )
740
740
}
741
+
742
+ #[ pygetset]
743
+ fn errors ( _zelf : PyObjectRef , vm : & VirtualMachine ) -> PyObjectRef {
744
+ vm. ctx . none ( )
745
+ }
741
746
}
742
747
743
748
#[ derive( FromArgs , Clone ) ]
@@ -3594,6 +3599,11 @@ mod _io {
3594
3599
let pos = pos. try_usize ( vm) ?;
3595
3600
Ok ( buffer. truncate ( pos) )
3596
3601
}
3602
+
3603
+ #[ pygetset]
3604
+ fn line_buffering ( & self ) -> bool {
3605
+ false
3606
+ }
3597
3607
}
3598
3608
3599
3609
#[ pyattr]
You can’t perform that action at this time.
0 commit comments