Skip to content

Commit d61fe00

Browse files
authored
Fix typos discovered by codespell
1 parent 0b4f649 commit d61fe00

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ those fixtures are shared between threads.
7272
adding support for Python 3.14 to a library that already
7373
runs tests under pytest-run-parallel on Python 3.13 or
7474
older.
75-
- `--mark-hypothesis-as-unsafe` to always skip runing tests that
75+
- `--mark-hypothesis-as-unsafe` to always skip running tests that
7676
use [hypothesis](https://github.com/hypothesisworks/hypothesis).
77-
While newer version of Hypothesis are thread-safe, and versions
78-
which are not are automatically skipped by `pytest-run-parallel`,
77+
While newer versions of Hypothesis are thread-safe, and versions
78+
which are not automatically skipped by `pytest-run-parallel`,
7979
this flag is an escape hatch in case you run into thread-safety
8080
problems caused by Hypothesis, or in tests that happen to use
8181
hypothesis and were skipped in older versions of pytest-run-parallel.
@@ -134,7 +134,7 @@ back to running all tests single-threaded.
134134
## Requirements
135135

136136
`pytest-run-parallel` depends exclusively on `pytest`. Optionally
137-
intalling `psutil` will help with identifying the number of logical
137+
installing `psutil` will help with identifying the number of logical
138138
cores available to the testing process in systems where that's not
139139
possible with the Python stdlib.
140140

@@ -278,7 +278,7 @@ def test_fixture(my_fixture, arg):
278278
...
279279
```
280280

281-
Both modes of operations are supported simultaneously, i.e.,
281+
Both modes of operation are supported simultaneously, i.e.,
282282

283283
```bash
284284
# test_something_1 and test_fixture will be run using their set number of
@@ -294,7 +294,7 @@ Sanitizer](https://clang.llvm.org/docs/ThreadSanitizer.html). Setting
294294
sanitizer cannot detect races because the test is not parallelized.
295295

296296
Older versions of pytest-run-parallel always marked tests using the `warnings`
297-
and `ctypes` modules as thread-unsafe, since both were not thread-safe until
297+
and `ctypes` modules as thread-unsafe, since neither was thread-safe until
298298
Python 3.14. If you are adding support for Python 3.14 and would like to
299299
continue marking tests that use `warnings` or `ctypes`, pass
300300
`--mark-warnings-as-unsafe` or `--mark-ctypes-as-unsafe`, respectively, in your
@@ -315,7 +315,7 @@ def test_skip_if_parallel(num_parallel_threads):
315315
...
316316
```
317317

318-
The `thread_index` and `iteration_index` fixtures are also avaliable, which enable
318+
The `thread_index` and `iteration_index` fixtures are also available, which enable
319319
tests to display different behavior between threads and iterations.
320320

321321
```python

0 commit comments

Comments
 (0)