aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/tests/test_glibc.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2018-06-03 09:50:25 -0400
committerJason R. Coombs <jaraco@jaraco.com>2018-06-03 09:50:25 -0400
commitcca86c7f1d4040834c3265ccecdd9e21b4036df5 (patch)
tree6952f93a45a95659d36a93072e915688ca253a85 /setuptools/tests/test_glibc.py
parent7068f1d4c86e6d8e705a2b77da6c5dcf6a8d7bcd (diff)
downloadexternal_python_setuptools-cca86c7f1d4040834c3265ccecdd9e21b4036df5.tar.gz
external_python_setuptools-cca86c7f1d4040834c3265ccecdd9e21b4036df5.tar.bz2
external_python_setuptools-cca86c7f1d4040834c3265ccecdd9e21b4036df5.zip
Use Python 3 syntax for new-style clasess
Diffstat (limited to 'setuptools/tests/test_glibc.py')
-rw-r--r--setuptools/tests/test_glibc.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/setuptools/tests/test_glibc.py b/setuptools/tests/test_glibc.py
index 0a7cac0e..795fdc56 100644
--- a/setuptools/tests/test_glibc.py
+++ b/setuptools/tests/test_glibc.py
@@ -4,6 +4,8 @@ import pytest
from setuptools.glibc import check_glibc_version
+__metaclass__ = type
+
@pytest.fixture(params=[
"2.20",
@@ -23,7 +25,7 @@ def bad_string(request):
return request.param
-class TestGlibc(object):
+class TestGlibc:
def test_manylinux1_check_glibc_version(self, two_twenty):
"""
Test that the check_glibc_version function is robust against weird