You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,13 +23,13 @@ Sometimes you have code that needs to work the same way with regular, asynchrono
23
23
24
24
## Usage
25
25
26
-
To use the fixture, you need to add it to your project using the following command:
26
+
To use the fixture, install it via:
27
27
28
28
```bash
29
29
pip install transtests
30
30
```
31
31
32
-
The `transformed` fixture is now available for use. It returns a decorator that transforms the original function into one of three variants: the function itself, the same function but as an async, or as a generator function:
32
+
The `transformed` fixture is now available. It returns a decorator that transforms the original function into one of three variants: the original synchronous function, the same function but as an async one, or as a generator function:
This functionality is based on the [`transfunctions`](https://github.com/mutating/transfunctions) library, so you can use context managers from that library in the original template function.
53
+
This functionality is based on the [`transfunctions`](https://github.com/mutating/transfunctions) library, so you can use context managers from that library in the source function.
0 commit comments