From e5aba4943044d022152e7353663235a4fb1780e8 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Tue, 5 Jul 2022 07:43:52 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - jsonschema/_reflect.py - jsonschema/tests/_suite.py Fixes: - Should read `dynamically` rather than `dynamicallly`. - Should read `distinguish` rather than `distiguish`. --- jsonschema/_reflect.py | 2 +- jsonschema/tests/_suite.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jsonschema/_reflect.py b/jsonschema/_reflect.py index 39ee7a6c8..01f2dc320 100644 --- a/jsonschema/_reflect.py +++ b/jsonschema/_reflect.py @@ -60,7 +60,7 @@ def _importAndCheckStack(importName): Import the given name as a module, then walk the stack to determine whether the failure was the module not existing, or some code in the module (for example a dependent import) failing. This can be helpful to determine - whether any actual application code was run. For example, to distiguish + whether any actual application code was run. For example, to distinguish administrative error (entering the wrong module name), from programmer error (writing buggy code in a module that fails to import). diff --git a/jsonschema/tests/_suite.py b/jsonschema/tests/_suite.py index ff3e3af49..f053c18a2 100644 --- a/jsonschema/tests/_suite.py +++ b/jsonschema/tests/_suite.py @@ -217,7 +217,7 @@ def _someone_save_us_the_module_of_the_caller(): """ The FQON of the module 2nd stack frames up from here. - This is intended to allow us to dynamicallly return test case classes that + This is intended to allow us to dynamically return test case classes that are indistinguishable from being defined in the module that wants them. Otherwise, trial will mis-print the FQON, and copy pasting it won't re-run