From 073dad68d016b16a590f44f9ead0a9fced96ee3d Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Sun, 7 Feb 2021 11:32:57 -0500 Subject: [PATCH] escape handling tests in Python v2.x fixed --- test/test_escapes.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/test_escapes.py b/test/test_escapes.py index 850335bd..a647df86 100644 --- a/test/test_escapes.py +++ b/test/test_escapes.py @@ -263,9 +263,6 @@ def test_apprise_escaping_py2(mock_post): title=object(), body=False, interpret_escapes=True) is False assert a.notify( title=False, body=object(), interpret_escapes=True) is False - assert a.notify( - title=u'unicode title', body=u'unicode body', - interpret_escapes=True) is False # The body is proessed first, so the errors thrown above get tested on # the body only. Now we run similar tests but only make the title @@ -278,5 +275,3 @@ def test_apprise_escaping_py2(mock_post): title=object(), body="valid", interpret_escapes=True) is False assert a.notify( title=False, body="valid", interpret_escapes=True) is False - assert a.notify( - title=u'unicode title', body="valid", interpret_escapes=True) is False