summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_stanza_xep_0444.py6
1 files changed, 5 insertions, 1 deletions
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 = """
<message>
<reactions xmlns="urn:xmpp:reactions:0" id="abcd">