Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct spelling mistakes #132

Merged
merged 1 commit into from
May 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ For more details, see [Mkdocs - User guide](https://www.mkdocs.org/user-guide/)
and [Mkdocs Material theme documentation](https://squidfunk.github.io/mkdocs-material/).

The documentation is hosted on Read the Docs. Read the Docs uses the
`requirements.txt` in `docs` folder to install needed dependecies. To regenerate
`requirements.txt` in `docs` folder to install needed dependencies. To regenerate
this file, run this command:

```
Expand Down
2 changes: 1 addition & 1 deletion docs/usage/argument_matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ flexmock(plane).should_receive("fly").and_return("ok")
flexmock(plane).should_receive("fly").with_args("up").and_return("bad")
```

Try to excecute `plane.fly()` with any, or no, arguments as defined by the first
Try to execute `plane.fly()` with any, or no, arguments as defined by the first
flexmock call will return the first value.

```python
Expand Down
2 changes: 1 addition & 1 deletion fedora/main.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ discover:
- name: Upstream test suite
test: make test

# this is overriden in CI, but we want to run locally via CLI
# this is overridden in CI, but we want to run locally via CLI
provision:
how: local

Expand Down
2 changes: 1 addition & 1 deletion src/flexmock/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1268,7 +1268,7 @@ def _verify_number_of_calls(self, final: bool) -> Tuple[bool, str]:
return failed, message

def _reset(self) -> None:
"""Returns the methods overriden by this expectation to their originals."""
"""Returns the methods overridden by this expectation to their originals."""
_mock = self._mock
if not isinstance(_mock, Mock):
original = self.__dict__.get("_original")
Expand Down