From acac6a6ed57458adc2ecda36c51382660e5269df Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 4 Mar 2014 15:24:03 -0800 Subject: Follow the rules --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 681b9031..cfbab310 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ import sys from distutils.command.build import build from setuptools import setup, find_packages -from setuptools.command.test import test as TestCommand +from setuptools.command.test import test base_dir = os.path.dirname(__file__) @@ -71,7 +71,7 @@ class CFFIBuild(build): build.finalize_options(self) -class PyTest(TestCommand): +class PyTest(test): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] -- cgit v1.2.3 From 6858cd42e0ceb31d873052eba9f68406cd3aa03a Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 4 Mar 2014 15:33:13 -0800 Subject: The worst. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index cfbab310..238ee9b7 100644 --- a/setup.py +++ b/setup.py @@ -73,7 +73,7 @@ class CFFIBuild(build): class PyTest(test): def finalize_options(self): - TestCommand.finalize_options(self) + test.finalize_options(self) self.test_args = [] self.test_suite = True -- cgit v1.2.3