changeset 5916:6b4857686365

revert code to try to debug issue2551025
author John Rouillard <rouilj@ieee.org>
date Sat, 12 Oct 2019 21:40:18 -0400
parents 8814d1d5cb4e
children 3a6114d377f4
files .travis.yml test/test_mysql.py
diffstat 2 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/.travis.yml	Sat Oct 12 21:17:38 2019 -0400
+++ b/.travis.yml	Sat Oct 12 21:40:18 2019 -0400
@@ -83,8 +83,8 @@
   - cd $TRAVIS_BUILD_DIR
 
 install:
-  #- pip install mysqlclient==1.3.13
-  - pip install mysqlclient
+  - pip install mysqlclient==1.3.13
+  #- pip install mysqlclient
   - pip install psycopg2
   - pip install gpg pytz whoosh pyjwt
   - pip install pytest-cov codecov
--- a/test/test_mysql.py	Sat Oct 12 21:17:38 2019 -0400
+++ b/test/test_mysql.py	Sat Oct 12 21:40:18 2019 -0400
@@ -35,8 +35,7 @@
         self.module.db_nuke(config)
 
     def tearDown(self):
-        if self.db:
-           self.db.close()
+        self.db.close()
         self.nuke_database()
 
     def nuke_database(self):

Roundup Issue Tracker: http://roundup-tracker.org/