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

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

Issue 16510: Using appropriate checks in tests
Left Patch Set: Created 6 years ago
Right Patch Set: Created 5 years, 10 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
« no previous file with change/comment | « Lib/test/test_json/test_decode.py ('k') | Lib/test/test_logging.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 """ 1 """
2 Tests for kqueue wrapper. 2 Tests for kqueue wrapper.
3 """ 3 """
4 import errno 4 import errno
5 import os 5 import os
6 import select 6 import select
7 import socket 7 import socket
8 import sys 8 import sys
9 import time 9 import time
10 import unittest 10 import unittest
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 kqueue = select.kqueue() 210 kqueue = select.kqueue()
211 self.addCleanup(kqueue.close) 211 self.addCleanup(kqueue.close)
212 self.assertEqual(os.get_inheritable(kqueue.fileno()), False) 212 self.assertEqual(os.get_inheritable(kqueue.fileno()), False)
213 213
214 214
215 def test_main(): 215 def test_main():
216 support.run_unittest(TestKQueue) 216 support.run_unittest(TestKQueue)
217 217
218 if __name__ == "__main__": 218 if __name__ == "__main__":
219 test_main() 219 test_main()
LEFTRIGHT

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