Author: bugman
Date: Tue Feb 3 12:28:05 2015
New Revision: 27458
URL: http://svn.gna.org/viewcvs/relax?rev=27458&view=rev
Log:
The GUI test suite tearDown() method now calls the user function GUI wizard
Destroy() method.
This is for better handling of user function elimination.
Modified:
trunk/test_suite/gui_tests/base_classes.py
Modified: trunk/test_suite/gui_tests/base_classes.py
URL:
http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/base_classes.py?rev=27458&r1=27457&r2=27458&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/base_classes.py (original)
+++ trunk/test_suite/gui_tests/base_classes.py Tue Feb 3 12:28:05 2015
@@ -160,12 +160,7 @@
# Destroy all user function windows to save memory (specifically to
avoid the 10,000 USER Object limit in MS Windows).
for name in uf_store:
- if uf_store[name].wizard != None:
- uf_store[name].wizard.Close()
- uf_store[name].wizard = None
- if hasattr(uf_store[name], 'page') and uf_store[name].page != None:
- uf_store[name].page.Destroy()
- del uf_store[name].page
+ uf_store[name].Destroy()
# Kill the spin viewer window.
if hasattr(self.app.gui, 'spin_viewer'):
_______________________________________________
relax (http://www.nmr-relax.com)
This is the relax-commits mailing list
[email protected]
To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits