[commit] r2705 - trunk/Tests/GPyUnit/Regr/Mga
GMESRC Repository Notifications
gme-commit at list.isis.vanderbilt.edu
Mon Oct 30 15:58:07 CDT 2017
Author: ksmyth
Date: Mon Oct 30 15:58:07 2017
New Revision: 2705
Log:
Fix test cleanup
Modified:
trunk/Tests/GPyUnit/Regr/Mga/tc5.py
Modified: trunk/Tests/GPyUnit/Regr/Mga/tc5.py
==============================================================================
--- trunk/Tests/GPyUnit/Regr/Mga/tc5.py Mon Oct 30 15:58:03 2017 (r2704)
+++ trunk/Tests/GPyUnit/Regr/Mga/tc5.py Mon Oct 30 15:58:07 2017 (r2705)
@@ -21,11 +21,11 @@
"""
def setUp( self ): ## hook method
- pass
-
+ self.project = None
+
def tearDown( self ): ## hook method
- self.project.Close( 0 )
- pass
+ if self.project:
+ self.project.Close( 0 )
"""
More information about the gme-commit
mailing list