diff options
| author | Eli Collins <elic@assurancetechnologies.com> | 2012-04-30 22:46:00 -0400 |
|---|---|---|
| committer | Eli Collins <elic@assurancetechnologies.com> | 2012-04-30 22:46:00 -0400 |
| commit | ceeccea33a8e4e425425e4ed30c0ed2c34b67bbe (patch) | |
| tree | a1e735f0815130297304fc0d9a432afd043ab633 /passlib/utils/__init__.py | |
| parent | cf13872f382961729c922b6852f522364b167099 (diff) | |
| download | passlib-ceeccea33a8e4e425425e4ed30c0ed2c34b67bbe.tar.gz | |
excluded some branches from coverage
Diffstat (limited to 'passlib/utils/__init__.py')
| -rw-r--r-- | passlib/utils/__init__.py | 4 |
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") |
