From 8242f393f2bf525adc8fd4fffcc9dadce97f0f85 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Mon, 23 Oct 2023 18:36:08 +0100 Subject: [PATCH] Update copyright years. --- distlib/__init__.py | 2 +- distlib/util.py | 2 +- distlib/version.py | 2 +- tests/test_locators.py | 2 +- tests/test_markers.py | 2 +- tests/test_util.py | 2 +- tests/test_version.py | 4 +--- tox.ini | 2 +- 8 files changed, 8 insertions(+), 10 deletions(-) diff --git a/distlib/__init__.py b/distlib/__init__.py index f60d496..31b741b 100644 --- a/distlib/__init__.py +++ b/distlib/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2012-2022 Vinay Sajip. +# Copyright (C) 2012-2023 Vinay Sajip. # Licensed to the Python Software Foundation under a contributor agreement. # See LICENSE.txt and CONTRIBUTORS.txt. # diff --git a/distlib/util.py b/distlib/util.py index 04429ad..82f518c 100644 --- a/distlib/util.py +++ b/distlib/util.py @@ -1,5 +1,5 @@ # -# Copyright (C) 2012-2021 The Python Software Foundation. +# Copyright (C) 2012-2023 The Python Software Foundation. # See LICENSE.txt and CONTRIBUTORS.txt. # import codecs diff --git a/distlib/version.py b/distlib/version.py index 5de88ef..ddb8db3 100644 --- a/distlib/version.py +++ b/distlib/version.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2012-2017 The Python Software Foundation. +# Copyright (C) 2012-2023 The Python Software Foundation. # See LICENSE.txt and CONTRIBUTORS.txt. # """ diff --git a/tests/test_locators.py b/tests/test_locators.py index 6fe7884..7d8786c 100644 --- a/tests/test_locators.py +++ b/tests/test_locators.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2012-2013 Vinay Sajip. +# Copyright (C) 2012-2023 Vinay Sajip. # Licensed to the Python Software Foundation under a contributor agreement. # See LICENSE.txt and CONTRIBUTORS.txt. # diff --git a/tests/test_markers.py b/tests/test_markers.py index eabcc19..8798c9e 100644 --- a/tests/test_markers.py +++ b/tests/test_markers.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2012-2013 The Python Software Foundation. +# Copyright (C) 2012-2023 The Python Software Foundation. # See LICENSE.txt and CONTRIBUTORS.txt. # """Tests for distlib.markers.""" diff --git a/tests/test_util.py b/tests/test_util.py index b51e5b9..f50b967 100644 --- a/tests/test_util.py +++ b/tests/test_util.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # -# Copyright (C) 2012-2013 Vinay Sajip. +# Copyright (C) 2012-2023 Vinay Sajip. # Licensed to the Python Software Foundation under a contributor agreement. # See LICENSE.txt and CONTRIBUTORS.txt. # diff --git a/tests/test_version.py b/tests/test_version.py index 388cd6b..7e78382 100644 --- a/tests/test_version.py +++ b/tests/test_version.py @@ -644,14 +644,12 @@ def is_less(v1, v2): def test_suite(): - #README = os.path.join(os.path.dirname(__file__), 'README.txt') - #suite = [doctest.DocFileSuite(README), unittest.makeSuite(VersionTestCase)] if sys.version_info[:2] < (3, 13): suite = [unittest.makeSuite(VersionTestCase), unittest.makeSuite(CompatibilityTestCase), unittest.makeSuite(LegacyVersionTestCase), unittest.makeSuite(SemanticVersionTestCase)] - else: + else: # pragma: no cover suite = unittest.defaultTestLoader.loadTestsFromNames([ 'VersionTestCase', 'CompatibilityTestCase', 'LegacyVersionTestCase', 'SemanticVersionTestCase' diff --git a/tox.ini b/tox.ini index a97042c..1ecee0d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py27, py36, py37, py38, py39, py310, py311, py312, pypy, pypy3 +envlist = py27, py36, py37, py38, py39, py310, py311, py312, py313, pypy, pypy3 isolated_build = True [testenv]