(self)
| 649 | self.read_ops(f, True) |
| 650 | |
| 651 | def test_large_file_ops(self): |
| 652 | # On Windows and Apple platforms this test consumes large resources; It |
| 653 | # takes a long time to build the >2 GiB file and takes >2 GiB of disk |
| 654 | # space therefore the resource must be enabled to run this test. |
| 655 | if sys.platform[:3] == 'win' or is_apple: |
| 656 | support.requires( |
| 657 | 'largefile', |
| 658 | 'test requires %s bytes and a long time to run' % self.LARGE) |
| 659 | with self.open(os_helper.TESTFN, "w+b", 0) as f: |
| 660 | self.large_file_ops(f) |
| 661 | with self.open(os_helper.TESTFN, "w+b") as f: |
| 662 | self.large_file_ops(f) |
| 663 | |
| 664 | def test_with_open(self): |
| 665 | for bufsize in (0, 100): |
nothing calls this directly
no test coverage detected