Skip to content

Commit a7fa9ae

Browse files
committed
Clean up mock after README test
1 parent 9beeda2 commit a7fa9ae

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ shutil.copy(image, new_image)
4848
```
4949
-->
5050

51+
<!--pytest-codeblocks:cont-->
52+
5153
```python
5254
import io
5355
import pathlib
@@ -86,12 +88,13 @@ matching_targets = cloud_reco_client.query(image=my_image)
8688
assert matching_targets[0].target_id == target_id
8789
```
8890

91+
<!--pytest-codeblocks:cont-->
92+
8993
<!--
9094
```python
91-
import pathlib
92-
9395
new_image = pathlib.Path('high_quality_image.jpg')
9496
new_image.unlink()
97+
mock.__exit__()
9598
```
9699
-->
97100

0 commit comments

Comments
 (0)