summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarthikeyan Singaravelan <tir.karthi@gmail.com>2020-02-16 11:39:56 +0530
committerKarthikeyan Singaravelan <tir.karthi@gmail.com>2020-02-16 11:39:56 +0530
commited0df862f63c5d87763a8977ccd89bca610ff129 (patch)
tree2b6c1e27f77f387f5fc25233a34325fe5112bd0c
parent8d793090abb6dbad54cc9b9c2b3bde7bfcf2cf95 (diff)
downloadlibrabbitmq-ed0df862f63c5d87763a8977ccd89bca610ff129.tar.gz
Fix deprecation warnings due to invalid escape sequences.
-rw-r--r--tests/test_functional.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_functional.py b/tests/test_functional.py
index cd7c9dc..e93dfa0 100644
--- a/tests/test_functional.py
+++ b/tests/test_functional.py
@@ -38,7 +38,7 @@ class test_Channel(unittest.TestCase):
body='the quick brown fox jumps over the lazy dog',
properties=dict(content_type='application/json',
content_encoding='utf-8',
- headers={'key': '¯\_(ツ)_/¯'}))
+ headers={'key': r'¯\_(ツ)_/¯'}))
self.channel.basic_publish(message, TEST_QUEUE, TEST_QUEUE)
def _queue_declare(self):