commit c5ed1580d9b864287068c3b4fa3620835c3c8ede Author: teor teor@torproject.org Date: Mon Apr 8 15:02:55 2019 +1000
Traffic: make the unit test compatible with python 3
Part of 30063. --- lib/chutney/Traffic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/chutney/Traffic.py b/lib/chutney/Traffic.py index cb0af2f..26976db 100755 --- a/lib/chutney/Traffic.py +++ b/lib/chutney/Traffic.py @@ -430,7 +430,7 @@ class TrafficTester():
def main(): """Test the TrafficTester by sending and receiving some data.""" - DATA = "a foo is a bar" * 1000 + DATA = b"a foo is a bar" * 1000 bind_to = ('localhost', int(sys.argv[1]))
tt = TrafficTester(bind_to, DATA)
tor-commits@lists.torproject.org