diff options
author | Christian Clauss <cclauss@me.com> | 2021-08-01 12:52:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-01 03:52:42 -0700 |
commit | f3059761830a0716504b04d25a4045c2f4ef4402 (patch) | |
tree | 8071ee5c84f35bc7a6238824cacfb44edffc3339 /tests | |
parent | 7fe106b9fef26478ba10a6f206baf70eee201d4a (diff) | |
download | python-coveragepy-git-f3059761830a0716504b04d25a4045c2f4ef4402.tar.gz |
style: fix typos discovered by codespell (#1197)
python3 -m pip install codespell
codespell --ignore-words-list="ba,cant,datas,hart,linke,ned,nin,overthere,upto" --skip="*.js"
* Fix typos discovered by codespell
* datas
* intgers ==> integers
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gold/html/support/jquery.isonscreen.js | 2 | ||||
-rw-r--r-- | tests/test_config.py | 2 | ||||
-rw-r--r-- | tests/test_context.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/gold/html/support/jquery.isonscreen.js b/tests/gold/html/support/jquery.isonscreen.js index 0182ebd2..28fb99bc 100644 --- a/tests/gold/html/support/jquery.isonscreen.js +++ b/tests/gold/html/support/jquery.isonscreen.js @@ -8,7 +8,7 @@ (function($) { jQuery.extend({ isOnScreen: function(box, container) { - //ensure numbers come in as intgers (not strings) and remove 'px' is it's there + //ensure numbers come in as integers (not strings) and remove 'px' is it's there for(var i in box){box[i] = parseFloat(box[i])}; for(var i in container){container[i] = parseFloat(container[i])}; diff --git a/tests/test_config.py b/tests/test_config.py index 2bef500e..bf9cb4a5 100644 --- a/tests/test_config.py +++ b/tests/test_config.py @@ -448,7 +448,7 @@ class ConfigFileTest(UsingModulesMixin, CoverageTest): cover_pylib = TRUE parallel = on concurrency = thread - ; this omit is overriden by the omit from [report] + ; this omit is overridden by the omit from [report] omit = twenty source = myapp source_pkgs = ned diff --git a/tests/test_context.py b/tests/test_context.py index b20ecdef..3f80803b 100644 --- a/tests/test_context.py +++ b/tests/test_context.py @@ -197,7 +197,7 @@ def get_qualname(): """Helper to return qualname_from_frame for the caller.""" stack = inspect.stack()[1:] if any(sinfo[0].f_code.co_name == "get_qualname" for sinfo in stack): - # We're calling outselves recursively, maybe because we're testing + # We're calling ourselves recursively, maybe because we're testing # properties. Return an int to try to get back on track. return 17 caller_frame = stack[0][0] |