Skip to content

Commit

Permalink
Update copyright years.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsajip committed Oct 23, 2023
1 parent e27569b commit 8242f39
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion distlib/__init__.py
Original file line number Diff line number Diff line change
@@ -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.
#
Expand Down
2 changes: 1 addition & 1 deletion distlib/util.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion distlib/version.py
Original file line number Diff line number Diff line change
@@ -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.
#
"""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_locators.py
Original file line number Diff line number Diff line change
@@ -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.
#
Expand Down
2 changes: 1 addition & 1 deletion tests/test_markers.py
Original file line number Diff line number Diff line change
@@ -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."""
Expand Down
2 changes: 1 addition & 1 deletion tests/test_util.py
Original file line number Diff line number Diff line change
@@ -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.
#
Expand Down
4 changes: 1 addition & 3 deletions tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit 8242f39

Please sign in to comment.