Correct spelling mistakes (found with codespell) (#410)

This commit is contained in:
Edward Betts 2022-03-01 21:05:29 +00:00 committed by GitHub
commit b6c9dfce0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -1218,7 +1218,7 @@ def test_drop_table_error():
)
assert 1 == result.exit_code
assert 'Error: Table "t2" does not exist' == result.output.strip()
# Using --ignore supresses that error
# Using --ignore suppresses that error
result = runner.invoke(
cli.cli,
["drop-table", "test.db", "t2", "--ignore"],
@ -1259,7 +1259,7 @@ def test_drop_view_error():
)
assert 1 == result.exit_code
assert 'Error: View "t2" does not exist' == result.output.strip()
# Using --ignore supresses that error
# Using --ignore suppresses that error
result = runner.invoke(
cli.cli,
["drop-view", "test.db", "t2", "--ignore"],
@ -2014,7 +2014,7 @@ def test_insert_detect_types(tmpdir, option_or_env_var):
]
if option_or_env_var is None:
# Use environemnt variable instead of option
# Use environment variable instead of option
with mock.patch.dict(os.environ, {"SQLITE_UTILS_DETECT_TYPES": "1"}):
_test()
else:

View file

@ -269,7 +269,7 @@ def test_rebuild_fts(fresh_db):
}.items() <= rows[0].items()
# Insert another record
table.insert(search_records[1])
# This should NOT show up in a searchs
# This should NOT show up in searches
assert len(list(table.search("are"))) == 1
# Running rebuild_fts() should fix it
table.rebuild_fts()