1. Ronald Oussoren
  2. pyobjc

Commits

Ronald Oussoren  committed 70136e2

Tweak testcase to avoid spurious test failures

  • Participants
  • Parent commits 3b70646
  • Branches pyobjc-ancient

Comments (0)

Files changed (1)

File pyobjc-framework-CFNetwork/PyObjCTest/test_cfhost.py

View file
         self.assertIsInstance(ok, bool)
         self.assertIsInstance(err, CFStreamError)
 
-        CFRunLoopRunInMode(kCFRunLoopDefaultMode, 4.0, True)
+        CFRunLoopRunInMode(kCFRunLoopDefaultMode, 4.0, False)
 
         CFHostUnscheduleFromRunLoop(host, rl, kCFRunLoopDefaultMode)
         self.assertEqual(len(lst), 1)