summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/utils/metadata.py
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-12-03 11:47:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-05 12:37:02 +0000
commit367df47d374447c61f75b9aca436eaccf725aa5b (patch)
tree5c26ea3e0893f5360c1abadccd49432eac246b44 /meta/lib/oeqa/utils/metadata.py
parentb7ffedc262028bd151201ab0216aac55e4d45fec (diff)
downloadpoky-367df47d374447c61f75b9aca436eaccf725aa5b.tar.gz
oeqa/oelib/path: don't leak temporary directories
setUp() is used to populate a directory of temporary files, and deleted in __del__. However setUp() is called once *per test* so __del__ would only be able to remove the last directory created. Fix the code by using the natural counterpart to setUp, tearDown(), to clean up. (From OE-Core rev: 68b4723e6fb11d171869185bccf28f32f6284c18) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils/metadata.py')
0 files changed, 0 insertions, 0 deletions