Skip to content

Commit 257a2ac

Browse files
committed
Fixed Travis-CI failures.
1 parent c905312 commit 257a2ac

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ install: pip install -r test/requirements.txt --use-mirrors; if [ $TRAVIS_PYTHON
99
script: python test/alltests.py
1010
before_install:
1111
- "sudo mkdir -p /usr/include/postgresql/8.4/server"
12-
- 'sudo apt-get -o Dpkg::Options::="--force-overwrite" install python-profiler'
12+
# - 'sudo apt-get -o Dpkg::Options::="--force-overwrite" install python-profiler'
1313
before_script:
1414
- "psql -c 'create database webpy;' -U postgres"
1515
- mysql --user=root -e "create user 'scott'@'localhost' identified by 'tiger'; create database webpy; grant all privileges on webpy.* to 'scott'@'localhost' with grant option;"

test/application.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,11 +337,11 @@ def GET(self):
337337

338338
thread.start()
339339
time.sleep(1)
340-
self.assertTrue(thread.is_alive())
340+
self.assertTrue(thread.isAlive())
341341

342342
app.stop()
343343
thread.join(timeout=1)
344-
self.assertFalse(thread.is_alive())
344+
self.assertFalse(thread.isAlive())
345345

346346
if __name__ == '__main__':
347347
webtest.main()

0 commit comments

Comments
 (0)