From 0ce8ed205d4d7c345f42f9c7e59d699bc4e2fc68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Tue, 15 May 2018 22:00:54 +0200 Subject: [PATCH] Use pytest instead of py.test per upstream recommendation, #dropthedot http://blog.pytest.org/2016/whats-new-in-pytest-30/ https://twitter.com/hashtag/dropthedot --- .travis.yml | 2 +- tests/test_cursor.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 575f7e40..e1909524 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,7 +30,7 @@ before_script: script: - pip install -e . - - py.test --cov ./MySQLdb + - pytest --cov ./MySQLdb after_succes: - codecov diff --git a/tests/test_cursor.py b/tests/test_cursor.py index 535afec3..7919b561 100644 --- a/tests/test_cursor.py +++ b/tests/test_cursor.py @@ -1,4 +1,4 @@ -import py.test +import pytest import MySQLdb.cursors from configdb import connection_factory