@@ -141,7 +141,7 @@ def test_fcntl_64_bit(self):
141141 finally :
142142 os .close (fd )
143143
144- # TODO: RUSTPYTHON, AttributeError: module 'fcntl' has no attribute 'flock'
144+ # TODO: RUSTPYTHON, TypeError: 'BufferedRandom' object cannot be interpreted as an integer
145145 @unittest .expectedFailure
146146 def test_flock (self ):
147147 # Solaris needs readable file for shared lock
@@ -157,7 +157,7 @@ def test_flock(self):
157157 self .assertRaises (ValueError , fcntl .flock , - 1 , fcntl .LOCK_SH )
158158 self .assertRaises (TypeError , fcntl .flock , 'spam' , fcntl .LOCK_SH )
159159
160- # TODO: RUSTPYTHON, AttributeError: module 'fcntl' has no attribute 'lockf'
160+ # TODO: RUSTPYTHON, TypeError: 'BufferedRandom' object cannot be interpreted as an integer
161161 @unittest .expectedFailure
162162 @unittest .skipIf (platform .system () == "AIX" , "AIX returns PermissionError" )
163163 def test_lockf_exclusive (self ):
@@ -170,7 +170,7 @@ def test_lockf_exclusive(self):
170170 fcntl .lockf (self .f , fcntl .LOCK_UN )
171171 self .assertEqual (p .exitcode , 0 )
172172
173- # TODO: RUSTPYTHON, AttributeError: module 'fcntl' has no attribute 'lockf'
173+ # TODO: RUSTPYTHON, TypeError: 'BufferedRandom' object cannot be interpreted as an integer
174174 @unittest .expectedFailure
175175 @unittest .skipIf (platform .system () == "AIX" , "AIX returns PermissionError" )
176176 def test_lockf_share (self ):
0 commit comments