From a1ef32a1227f39112094e5676f0c49ff351392dd Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 6 Dec 2020 21:58:10 +0100 Subject: [PATCH] CI: do not require the emoji package --- tests/test_stanza_xep_0444.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test_stanza_xep_0444.py b/tests/test_stanza_xep_0444.py index b4d5739b..276460c5 100644 --- a/tests/test_stanza_xep_0444.py +++ b/tests/test_stanza_xep_0444.py @@ -43,7 +43,11 @@ class TestReactions(SlixTest): def testCreateReactionsUnrestricted(self): """Testing creating Reactions with the extra all_chars arg.""" - + try: + import emoji + except ImportError: + # No emoji package: this test does not make sense + return xmlstring = """