From ed0df862f63c5d87763a8977ccd89bca610ff129 Mon Sep 17 00:00:00 2001 From: Karthikeyan Singaravelan Date: Sun, 16 Feb 2020 11:39:56 +0530 Subject: Fix deprecation warnings due to invalid escape sequences. --- tests/test_functional.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- cgit v1.2.1