summaryrefslogtreecommitdiff
path: root/passlib/utils/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'passlib/utils/__init__.py')
-rw-r--r--passlib/utils/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/passlib/utils/__init__.py b/passlib/utils/__init__.py
index fc90055..4e29259 100644
--- a/passlib/utils/__init__.py
+++ b/passlib/utils/__init__.py
@@ -473,7 +473,7 @@ def saslprep(source, param="value"):
return data
# replace saslprep() with stub when stringprep is missing
-if stringprep is None:
+if stringprep is None: # pragma: no cover -- runtime detection
def saslprep(source, param="value"):
"stub for saslprep()"
raise NotImplementedError("saslprep() support requires the 'stringprep' "
@@ -669,7 +669,7 @@ add_doc(to_native_str,
""")
@deprecated_function(deprecated="1.6", removed="1.7")
-def to_hash_str(source, encoding="ascii"): # pragma: no cover
+def to_hash_str(source, encoding="ascii"): # pragma: no cover -- deprecated & unused
"deprecated, use to_native_str() instead"
return to_native_str(source, encoding, param="hash")