From d22f8d91ed8e2ac15fc4f177d3b833c495beb714 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Mon, 6 Sep 2021 06:39:03 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - pyvows/decorators.py - pyvows/reporting/test.py - pyvows/result.py Fixes: - Should read `internally` rather than `interally`. - Should read `hindrance` rather than `hinderance`. - Should read `equivalent` rather than `equivilent`. --- pyvows/decorators.py | 2 +- pyvows/reporting/test.py | 2 +- pyvows/result.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyvows/decorators.py b/pyvows/decorators.py index 3661fe0..08fcf6e 100644 --- a/pyvows/decorators.py +++ b/pyvows/decorators.py @@ -61,7 +61,7 @@ def wrapper(*args, **kw): def skip_if(condition, reason): '''Topic or vow or context decorator. Causes a topic or vow to be skipped if `condition` is True - This is equivilent to `if condition: raise SkipTest(reason)` + This is equivalent to `if condition: raise SkipTest(reason)` ''' from pyvows.core import Vows diff --git a/pyvows/reporting/test.py b/pyvows/reporting/test.py index 6e63172..92a44f8 100644 --- a/pyvows/reporting/test.py +++ b/pyvows/reporting/test.py @@ -133,7 +133,7 @@ def _print_traceback(): self.indent += 2 ### NOTE: - ### Commented out try/except; potential debugging hinderance + ### Commented out try/except; potential debugging hindrance #try: diff --git a/pyvows/result.py b/pyvows/result.py index 06ec3c4..39abf1a 100644 --- a/pyvows/result.py +++ b/pyvows/result.py @@ -27,7 +27,7 @@ def __init__(self): self.elapsed_time = 0.0 def _count_contexts(self, contexts=None, count_func=lambda context: 1): - '''Used interally for class properties + '''Used internally for class properties `total_test_count`, `successful_tests`, and `errored_tests`. '''