summaryrefslogtreecommitdiff
path: root/tests/debug_test.py
diff options
context:
space:
mode:
authoramajorek <devnull@localhost>2010-03-07 04:28:25 -0500
committeramajorek <devnull@localhost>2010-03-07 04:28:25 -0500
commitfcafbbf322c3c38079bf05ab21db0b7a3139e867 (patch)
tree2decb806de435b19f06336d5f0119e039c9c097d /tests/debug_test.py
parentfcd285741b4636238b1cbdbc054f8dd53960f739 (diff)
downloadeventlet-fcafbbf322c3c38079bf05ab21db0b7a3139e867.tar.gz
py3k - more testcases ported
Diffstat (limited to 'tests/debug_test.py')
-rw-r--r--tests/debug_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/debug_test.py b/tests/debug_test.py
index 61b4ba4..4edcb0f 100644
--- a/tests/debug_test.py
+++ b/tests/debug_test.py
@@ -2,7 +2,7 @@ import sys
import eventlet
from eventlet import debug
-from tests import LimitedTestCase, main
+from tests import LimitedTestCase, main, s2b
from unittest import TestCase
try:
@@ -117,7 +117,7 @@ class TestDebug(LimitedTestCase):
try:
gt = eventlet.spawn(hurl, client_2)
eventlet.sleep(0)
- client.send(' ')
+ client.send(s2b(' '))
eventlet.sleep(0)
# allow the "hurl" greenlet to trigger the KeyError
# not sure why the extra context switch is needed