[Python-checkins] r66037 - in sandbox/trunk/ttk-gsoc/src: 2.x/test/test_style.py 3.x/test/test_style.py
guilherme.polo
python-checkins at python.org
Tue Aug 26 00:21:52 CEST 2008
Author: guilherme.polo
Date: Tue Aug 26 00:21:52 2008
New Revision: 66037
Log:
Restore previous theme
Modified:
sandbox/trunk/ttk-gsoc/src/2.x/test/test_style.py
sandbox/trunk/ttk-gsoc/src/3.x/test/test_style.py
Modified: sandbox/trunk/ttk-gsoc/src/2.x/test/test_style.py
==============================================================================
--- sandbox/trunk/ttk-gsoc/src/2.x/test/test_style.py (original)
+++ sandbox/trunk/ttk-gsoc/src/2.x/test/test_style.py Tue Aug 26 00:21:52 2008
@@ -83,6 +83,8 @@
self.failIf(curr_theme == new_theme)
self.failIf(new_theme != self.style.theme_use())
+ self.style.theme_use(curr_theme)
+
def test_main():
support.run(StyleTest)
Modified: sandbox/trunk/ttk-gsoc/src/3.x/test/test_style.py
==============================================================================
--- sandbox/trunk/ttk-gsoc/src/3.x/test/test_style.py (original)
+++ sandbox/trunk/ttk-gsoc/src/3.x/test/test_style.py Tue Aug 26 00:21:52 2008
@@ -83,6 +83,8 @@
self.failIf(curr_theme == new_theme)
self.failIf(new_theme != self.style.theme_use())
+ self.style.theme_use(curr_theme)
+
def test_main():
support.run(StyleTest)
More information about the Python-checkins
mailing list