summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorholger krekel <holger@merlinux.eu>2013-08-02 09:52:40 +0200
committerholger krekel <holger@merlinux.eu>2013-08-02 09:52:40 +0200
commit7d86827b5edfaeaff8d6bcf968ffaae5534e806a (patch)
tree3f58e549cbb0e663c3a58a9f41b02d38cb1771ed /bench
parentb2ebb808785d8e52eea3cb9316c394259ff285d9 (diff)
downloadpytest-7d86827b5edfaeaff8d6bcf968ffaae5534e806a.tar.gz
ref #322 cleanup all teardown calling to only happen when setup succeeded.
don't use autouse fixtures for now because it would cause a proliferation and overhead for the execution of every test. Rather introduce a node.addfinalizer(fin) to attach a finalizer to the respective node and call it from node.setup() functions if the setup phase succeeded (i.e. there is no setup function or it finished successfully)
Diffstat (limited to 'bench')
0 files changed, 0 insertions, 0 deletions