aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_flow.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_flow.py')
-rw-r--r--test/test_flow.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_flow.py b/test/test_flow.py
index 4ad692bc..977cdd4e 100644
--- a/test/test_flow.py
+++ b/test/test_flow.py
@@ -733,7 +733,7 @@ class TestFlowMaster:
with tutils.tmpdir() as tdir:
p = os.path.join(tdir, "foo")
def r():
- r = flow.FlowReader(open(p))
+ r = flow.FlowReader(open(p,"rb"))
return list(r.stream())
s = flow.State()
@@ -1191,6 +1191,8 @@ class TestClientConnect:
c3 = c.copy()
assert c3 == c
+ assert str(c)
+
def test_decoded():
r = tutils.treq()