diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-10-24 11:23:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-24 11:23:35 +0100 |
commit | 7328039117854d1c38ae41794a9e7efb2d23c732 (patch) | |
tree | b022d21ff97fe3b99319c433a76993d4584cdf99 /tests/events/test_utils.py | |
parent | Merge pull request #4040 from matrix-org/erikj/states_res_v2_rebase (diff) | |
parent | Fix a number of flake8 errors (diff) | |
download | synapse-7328039117854d1c38ae41794a9e7efb2d23c732.tar.xz |
Merge pull request #4082 from matrix-org/rav/fix_pep8
Fix a number of flake8 errors
Diffstat (limited to 'tests/events/test_utils.py')
-rw-r--r-- | tests/events/test_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/events/test_utils.py b/tests/events/test_utils.py index ff217ca8b9..d0cc492deb 100644 --- a/tests/events/test_utils.py +++ b/tests/events/test_utils.py @@ -156,7 +156,7 @@ class SerializeEventTestCase(unittest.TestCase): room_id="!foo:bar", content={"key.with.dots": {}}, ), - ["content.key\.with\.dots"], + [r"content.key\.with\.dots"], ), {"content": {"key.with.dots": {}}}, ) @@ -172,7 +172,7 @@ class SerializeEventTestCase(unittest.TestCase): "nested.dot.key": {"leaf.key": 42, "not_me_either": 1}, }, ), - ["content.nested\.dot\.key.leaf\.key"], + [r"content.nested\.dot\.key.leaf\.key"], ), {"content": {"nested.dot.key": {"leaf.key": 42}}}, ) |