Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(151111)

Delta Between Two Patch Sets: Lib/test/test_fcntl.py

Issue 23001: Accept mutable bytes-like objects
Left Patch Set: Created 5 years ago
Right Patch Set: Created 4 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 """Test program for the fcntl C module. 1 """Test program for the fcntl C module.
2 """ 2 """
3 import platform 3 import platform
4 import os 4 import os
5 import struct 5 import struct
6 import sys 6 import sys
7 import unittest 7 import unittest
8 from test.support import (verbose, TESTFN, unlink, run_unittest, import_module, 8 from test.support import (verbose, TESTFN, unlink, run_unittest, import_module,
9 cpython_only) 9 cpython_only)
10 10
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 import _testcapi 144 import _testcapi
145 self.assertRaises(OverflowError, fcntl.flock, _testcapi.INT_MAX+1, 145 self.assertRaises(OverflowError, fcntl.flock, _testcapi.INT_MAX+1,
146 fcntl.LOCK_SH) 146 fcntl.LOCK_SH)
147 147
148 148
149 def test_main(): 149 def test_main():
150 run_unittest(TestFcntl) 150 run_unittest(TestFcntl)
151 151
152 if __name__ == '__main__': 152 if __name__ == '__main__':
153 test_main() 153 test_main()
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+