Skip to content

Commit

Permalink
Merge pull request #94 from jdufresne/the-the
Browse files Browse the repository at this point in the history
Fix typo "the the"
  • Loading branch information
SethMMorton authored Jun 30, 2019
2 parents ea0d37e + 6f5d789 commit a940fb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/howitworks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -661,9 +661,9 @@ These can be summed up as follows:
#. Proper handling of Unicode is complicated.
#. Proper handling of :mod:`locale` is complicated.

Easily over half of the the code in :mod:`natsort` is in some way dealing with some
aspect of :mod:`locale` or basic case handling. It would have been
impossible to get right without a `really good`_ `testing strategy`_.
Easily over half of the code in :mod:`natsort` is in some way dealing with some
aspect of :mod:`locale` or basic case handling. It would have been impossible
to get right without a `really good`_ `testing strategy`_.

Don't expect any more TL;DR's... if you want to see how all this is fully
incorporated into the :mod:`natsort` algorithm then please take a look
Expand Down
4 changes: 2 additions & 2 deletions tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ def test_sep_inserter_inserts_separator_string_between_two_numbers_example():

@given(lists(elements=text().filter(bool) | integers(), min_size=3))
def test_sep_inserter_inserts_separator_between_two_numbers(x):
# Rather than just replicating the the results in a different
# algorithm, validate that the "shape" of the output is as expected.
# Rather than just replicating the results in a different algorithm,
# validate that the "shape" of the output is as expected.
result = list(utils.sep_inserter(iter(x), ""))
for i, pos in enumerate(result[1:-1], 1):
if pos == "":
Expand Down

0 comments on commit a940fb4

Please sign in to comment.