spacepaste

  1.  
  2. [oberstet@txbuild ~/twisted/ipv6-connectTCP-5085-2]$ trial -r kqueue --rterrors twisted.internet.test.test_tcp.WriteSequenceTests_KQueueReactor
  3. twisted.internet.test.test_tcp
  4. WriteSequenceTests_KQueueReactor
  5. test_nonStreamingProducer ... [OK]
  6. test_streamingProducer ... [OK]
  7. test_withoutWrite ... [OK]
  8. test_writeSequenceWithUnicodeRaisesException ... [OK]
  9. -------------------------------------------------------------------------------
  10. Ran 4 tests in 0.082s
  11. PASSED (successes=4)
  12. [oberstet@txbuild ~/twisted/ipv6-connectTCP-5085-2]$ svn diff twisted/internet/test/test_tcp.py
  13. Index: twisted/internet/test/test_tcp.py
  14. ===================================================================
  15. --- twisted/internet/test/test_tcp.py (revision 33863)
  16. +++ twisted/internet/test/test_tcp.py (working copy)
  17. @@ -1136,7 +1136,7 @@
  18. self.addCleanup(port.stopListening)
  19. connector = reactor.connectTCP(
  20. - "127.0.0.1", port.getHost().port, client)
  21. + "localhost", port.getHost().port, client)
  22. self.addCleanup(connector.disconnect)
  23. def dataReceived(data):
  24. @@ -1176,7 +1176,7 @@
  25. self.addCleanup(port.stopListening)
  26. connector = reactor.connectTCP(
  27. - "127.0.0.1", port.getHost().port, client)
  28. + "localhost", port.getHost().port, client)
  29. self.addCleanup(connector.disconnect)
  30. def serverConnected(proto):
  31. @@ -1209,7 +1209,7 @@
  32. self.addCleanup(port.stopListening)
  33. connector = reactor.connectTCP(
  34. - "127.0.0.1", port.getHost().port, self.client)
  35. + "localhost", port.getHost().port, self.client)
  36. self.addCleanup(connector.disconnect)
  37. # The following could probably all be much simpler, but for #5285.
  38. [oberstet@txbuild ~/twisted/ipv6-connectTCP-5085-2]$
  39.