Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: László Kiss Kollár <kiss.kollar.laszlo@gmail.com>
  • Loading branch information
pablogsal and lkollar committed Apr 20, 2022
1 parent 5ce7332 commit 2d7a2b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ If you want an easy and convenient way to use `memray` in your test suite, you c
pytest --memray tests/
```

And you can get automatically a report like this:
And will automatically get a report like this:

```
python3 -m pytest tests --memray
Expand All @@ -176,7 +176,7 @@ Allocations results for tests/test_package.py::some_test_that_allocates
- __init__:/opt/bb/lib/python3.8/site-packages/astroid/node_classes.py:1353 -> 512.0KiB
```

You can also use some of the included markers to cause some selected tests to
You can also use some of the included markers to make tests
fail if the execution of said test allocates more memory than allowed:

```python
Expand Down

0 comments on commit 2d7a2b5

Please sign in to comment.