From abcc28636a37d09302ff7d00d538d07760b14958 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Fri, 18 Jun 2021 15:58:08 -0400 Subject: [PATCH] Fix some spelling mistakes (#436) --- CHANGELOG.rst | 2 +- tests/test_requirements.py | 2 +- tests/test_structures.py | 2 +- tests/test_tags.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 96a70fac..9d9ede73 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -231,7 +231,7 @@ No unreleased changes. 15.2 - 2015-05-13 ~~~~~~~~~~~~~~~~~ -* Fix an error where the arbitary specifier (``===``) was not correctly +* Fix an error where the arbitrary specifier (``===``) was not correctly allowing pre-releases when it was being used. * Expose the specifier and version parts through properties on the diff --git a/tests/test_requirements.py b/tests/test_requirements.py index 5a1baa10..8cc45687 100644 --- a/tests/test_requirements.py +++ b/tests/test_requirements.py @@ -140,7 +140,7 @@ def test_multiple_markers(self): marker = 'python_version < "2.7" and platform_version == "2"' self._assert_requirement(req, "name", extras=["strange", "quux"], marker=marker) - def test_multiple_comparsion_markers(self): + def test_multiple_comparison_markers(self): req = Requirement("name; os_name=='a' and os_name=='b' or os_name=='c'") marker = 'os_name == "a" and os_name == "b" or os_name == "c"' self._assert_requirement(req, "name", marker=marker) diff --git a/tests/test_structures.py b/tests/test_structures.py index 2bf99ab4..f8115e57 100644 --- a/tests/test_structures.py +++ b/tests/test_structures.py @@ -43,7 +43,7 @@ def test_negative_infinity_lesser(left): assert left >= NegativeInfinity -def test_infinty_equal(): +def test_infinity_equal(): assert Infinity == Infinity diff --git a/tests/test_tags.py b/tests/test_tags.py index 269b4003..dc112a59 100644 --- a/tests/test_tags.py +++ b/tests/test_tags.py @@ -719,7 +719,7 @@ def test_get_elf_header( @pytest.mark.parametrize( "content", [None, "invalid-magic", "invalid-class", "invalid-data", "too-short"] ) - def test_get_elf_header_bad_excutable(self, monkeypatch, content): + def test_get_elf_header_bad_executable(self, monkeypatch, content): if content: path = os.path.join(os.path.dirname(__file__), f"hello-world-{content}") else: