(self)
| 344 | self.read_ops(f, True) |
| 345 | |
| 346 | def test_large_file_ops(self): |
| 347 | # On Windows and Apple platforms this test consumes large resources; It |
| 348 | # takes a long time to build the >2 GiB file and takes >2 GiB of disk |
| 349 | # space therefore the resource must be enabled to run this test. |
| 350 | if sys.platform[:3] == 'win' or is_apple: |
| 351 | support.requires( |
| 352 | 'largefile', |
| 353 | 'test requires %s bytes and a long time to run' % self.LARGE) |
| 354 | with self.open(os_helper.TESTFN, "w+b", 0) as f: |
| 355 | self.large_file_ops(f) |
| 356 | with self.open(os_helper.TESTFN, "w+b") as f: |
| 357 | self.large_file_ops(f) |
| 358 | |
| 359 | def test_with_open(self): |
| 360 | for bufsize in (0, 100): |
nothing calls this directly
no test coverage detected