aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools
diff options
context:
space:
mode:
authorstepshal <nessento@openmailbox.org>2016-07-21 04:07:20 +0700
committerstepshal <nessento@openmailbox.org>2016-07-21 04:07:20 +0700
commit0ef2f3616fd1e19ef2fafeebbc7f904a1fefcd51 (patch)
treef7376209225d76903d916076dae94348d22f869b /setuptools
parente6d6f7bd99d7329a5689980ac74c9e227bd0f503 (diff)
downloadexternal_python_setuptools-0ef2f3616fd1e19ef2fafeebbc7f904a1fefcd51.tar.gz
external_python_setuptools-0ef2f3616fd1e19ef2fafeebbc7f904a1fefcd51.tar.bz2
external_python_setuptools-0ef2f3616fd1e19ef2fafeebbc7f904a1fefcd51.zip
Test for membership should be 'not in'.
Diffstat (limited to 'setuptools')
-rw-r--r--setuptools/tests/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/setuptools/tests/__init__.py b/setuptools/tests/__init__.py
index 66f23854..53bd836c 100644
--- a/setuptools/tests/__init__.py
+++ b/setuptools/tests/__init__.py
@@ -266,15 +266,15 @@ class TestFeatures:
assert dist.feature_negopt['without-foo'] == 'with-foo'
assert dist.feature_negopt['without-bar'] == 'with-bar'
assert dist.feature_negopt['without-dwim'] == 'with-dwim'
- assert (not 'without-baz' in dist.feature_negopt)
+ assert ('without-baz' not in dist.feature_negopt)
def testUseFeatures(self):
dist = self.dist
assert dist.with_foo == 1
assert dist.with_bar == 0
assert dist.with_baz == 1
- assert (not 'bar_et' in dist.py_modules)
- assert (not 'pkg.bar' in dist.packages)
+ assert ('bar_et' not in dist.py_modules)
+ assert ('pkg.bar' not in dist.packages)
assert ('pkg.baz' in dist.packages)
assert ('scripts/baz_it' in dist.scripts)
assert (('libfoo', 'foo/foofoo.c') in dist.libraries)