diff --git a/django/contrib/gis/db/backends/spatialite/introspection.py b/django/contrib/gis/db/backends/spatialite/introspection.py index ccb9f0a1af..0feeb24397 100644 --- a/django/contrib/gis/db/backends/spatialite/introspection.py +++ b/django/contrib/gis/db/backends/spatialite/introspection.py @@ -6,7 +6,7 @@ from django.db.backends.sqlite3.introspection import ( class GeoFlexibleFieldLookupDict(FlexibleFieldLookupDict): """ - Sublcass that includes updates the `base_data_types_reverse` dict + Subclass that includes updates the `base_data_types_reverse` dict for geometry field types. """ base_data_types_reverse = { diff --git a/tests/dbshell/test_postgresql.py b/tests/dbshell/test_postgresql.py index 40d2deae62..7047283bb3 100644 --- a/tests/dbshell/test_postgresql.py +++ b/tests/dbshell/test_postgresql.py @@ -105,7 +105,7 @@ class PostgreSqlDbshellCommandTestCase(SimpleTestCase): ) def test_sigint_handler(self): - """SIGINT is ignored in Python and passed to psql to abort quries.""" + """SIGINT is ignored in Python and passed to psql to abort queries.""" def _mock_subprocess_run(*args, **kwargs): handler = signal.getsignal(signal.SIGINT) self.assertEqual(handler, signal.SIG_IGN) diff --git a/tests/defer/tests.py b/tests/defer/tests.py index f2e86aca96..b67c5d9a5e 100644 --- a/tests/defer/tests.py +++ b/tests/defer/tests.py @@ -202,7 +202,7 @@ class BigChildDeferTests(AssertionMixin, TestCase): self.assertEqual(obj.value, "foo") self.assertEqual(obj.other, "bar") - def test_only_sublcass(self): + def test_only_subclass(self): # You can retrieve a single field on a subclass obj = BigChild.objects.only("other").get(name="b1") self.assert_delayed(obj, 4) diff --git a/tests/utils_tests/test_numberformat.py b/tests/utils_tests/test_numberformat.py index 1dac45e890..83e7d271b5 100644 --- a/tests/utils_tests/test_numberformat.py +++ b/tests/utils_tests/test_numberformat.py @@ -56,7 +56,7 @@ class TestNumberFormat(SimpleTestCase): def test_float_numbers(self): # A float without a fractional part (3.) results in a ".0" when no - # deimal_pos is given. Contrast that with the Decimal('3.') case in + # decimal_pos is given. Contrast that with the Decimal('3.') case in # test_decimal_numbers which doesn't return a fractional part. self.assertEqual(nformat(3., '.'), '3.0')