From b130e3284e0edb362ddce194babdb0b08a47f222 Mon Sep 17 00:00:00 2001 From: Kodi Arfer Date: Mon, 20 May 2019 14:47:08 -0400 Subject: [PATCH] Don't test Python 2 --- .travis.yml | 2 -- conftest.py | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4234503..f7fe97b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,12 +2,10 @@ sudo: false dist: xenial language: python python: - - "2.7" - "3.5" - "3.6" - "3.7" - 3.8-dev - - pypy2.7-6.0 - pypy3.5-6.0 install: - pip install -r requirements-travis.txt diff --git a/conftest.py b/conftest.py index 9f65b48..7ded83e 100644 --- a/conftest.py +++ b/conftest.py @@ -4,7 +4,7 @@ import importlib import py import pytest import hy -from hy._compat import PY3, PY36, PY38 +from hy._compat import PY36, PY38 NATIVE_TESTS = os.path.join("", "tests", "native_tests", "") @@ -12,8 +12,7 @@ _fspath_pyimport = py.path.local.pyimport def pytest_ignore_collect(path, config): - return (("py3_only" in path.basename and not PY3) or - ("py36_only" in path.basename and not PY36) or + return (("py36_only" in path.basename and not PY36) or ("py38_only" in path.basename and not PY38) or None)