Replies: 3 comments 3 replies
-
It's not clear what you mean by "see variable" and "normal function" Can you provide an example and/or elaborate in more detail |
Beta Was this translation helpful? Give feedback.
2 replies
-
I know I can write code like below.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
this is the pytest assertion rewriting feature i'm not aware of a implementation of it for normal python runnin |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In normal case
assert a>b,'assert message'
will not show variable a and b.
But in pytest, I can see variable when assert fail.
I wonder if I can see variable in normal function?
Or I shouldn't use that feature?
Beta Was this translation helpful? Give feedback.
All reactions