From 9f2f42f715333f2c8adfc118a818d95382f34bbb Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Sun, 19 Jul 2020 14:59:33 -0400 Subject: [PATCH] inline documentation typos/cleanup --- apprise/plugins/NotifyWindows.py | 5 +++-- test/test_xmpp_plugin.py | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apprise/plugins/NotifyWindows.py b/apprise/plugins/NotifyWindows.py index 50e7e60a..65512b51 100644 --- a/apprise/plugins/NotifyWindows.py +++ b/apprise/plugins/NotifyWindows.py @@ -48,7 +48,7 @@ try: except ImportError: # No problem; we just simply can't support this plugin because we're - # either using Linux, or simply do not have pypiwin32 installed. + # either using Linux, or simply do not have pywin32 installed. pass @@ -146,7 +146,8 @@ class NotifyWindows(NotifyBase): if not self._enabled: self.logger.warning( - "Windows Notifications are not supported by this system.") + "Windows Notifications are not supported by this system; " + "`pip install pywin32`.") return False # Always call throttle before any remote server i/o is made diff --git a/test/test_xmpp_plugin.py b/test/test_xmpp_plugin.py index 1abd8dbb..2172c2f1 100644 --- a/test/test_xmpp_plugin.py +++ b/test/test_xmpp_plugin.py @@ -64,7 +64,7 @@ def test_xmpp_plugin_import_error(tmpdir): # So we create a temporary directory called sleekxmpp (simulating the # library itself) and writing an __init__.py in it that does nothing - # but throw an ImportError exception (simulating that hte library + # but throw an ImportError exception (simulating that the library # isn't found). suite = tmpdir.mkdir("sleekxmpp") suite.join("__init__.py").write('') @@ -101,7 +101,7 @@ def test_xmpp_plugin_import_error(tmpdir): reload(sys.modules['apprise']) # This tests that Apprise still works without sleekxmpp. - # XMPP objects can't be istantiated though. + # XMPP objects can still be instantiated in these cases. obj = apprise.Apprise.instantiate('xmpp://user:pass@localhost') assert obj is not None