Skip to content

Commit 1286c48

Browse files
authored
Merge pull request #142 from tirkarthi/fix-warnings
Fix deprecation warnings due to invalid escape sequences.
2 parents 8d79309 + ed0df86 commit 1286c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_functional.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def test_nonascii_headers(self):
3838
body='the quick brown fox jumps over the lazy dog',
3939
properties=dict(content_type='application/json',
4040
content_encoding='utf-8',
41-
headers={'key': '¯\_(ツ)_/¯'}))
41+
headers={'key': r'¯\_(ツ)_/¯'}))
4242
self.channel.basic_publish(message, TEST_QUEUE, TEST_QUEUE)
4343

4444
def _queue_declare(self):

0 commit comments

Comments
 (0)