Resource Warning due to open file
opentea.gui_forms.constants.load_icons aren't closed properly, leading to ResourceWarning: Enable tracemalloc to get the object allocation traceback
From line 100 in constants.py (im = Image.open(k).convert('RGBA')) due to the image file not being closed. This can be resolved by either adding a close statement or using the with statement.
Edited by Mekhla Kapoor