diff options
author | Lorenz Diener <[email protected]> | 2017-12-21 11:06:13 +0100 |
---|---|---|
committer | Lorenz Diener <[email protected]> | 2017-12-21 11:06:13 +0100 |
commit | 18543648a6f6c75a3d20415cdfa51aeca52f752f (patch) | |
tree | 72afaa1c6c2d3e10fb454c71b753807c75448cb1 /mastodon | |
parent | 08a0e5ff67600a7f12cd91daf25217ba3e8e51d3 (diff) | |
download | mastodon.py-18543648a6f6c75a3d20415cdfa51aeca52f752f.tar.gz |
Adjust streaming tests
Diffstat (limited to 'mastodon')
-rw-r--r-- | mastodon/streaming.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mastodon/streaming.py b/mastodon/streaming.py index 3df3298..4941ace 100644 --- a/mastodon/streaming.py +++ b/mastodon/streaming.py | |||
@@ -56,7 +56,7 @@ class StreamListener(object): | |||
56 | line = raw_line.decode('utf-8') | 56 | line = raw_line.decode('utf-8') |
57 | except UnicodeDecodeError as err: | 57 | except UnicodeDecodeError as err: |
58 | six.raise_from( | 58 | six.raise_from( |
59 | MastodonMalformedEventError("Malformed UTF-8", line), | 59 | MastodonMalformedEventError("Malformed UTF-8"), |
60 | err | 60 | err |
61 | ) | 61 | ) |
62 | 62 | ||