summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2021-01-24 14:45:49 +0200
committerRan Benita <ran@unusedvar.com>2021-01-24 15:05:03 +0200
commit48fb989a71674189bec2e732fefb8b35b89d58f5 (patch)
tree9c7291331d1ee82e150cfe6e63d5be1767c7511e /scripts
parentd5df8f99ab122aa1e8690ac27fda3513cfb1a227 (diff)
downloadpytest-48fb989a71674189bec2e732fefb8b35b89d58f5.tar.gz
runner: avoid using node's store in SetupState
SetupState maintains its own state, so it can store the exception itself, instead of using the node's store, which is better avoided when possible. This also reduces the lifetime of the reference-cycle-inducing exception objects which is never a bad thing.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions