diff options
| author | stepshal <nessento@openmailbox.org> | 2016-07-21 04:07:20 +0700 |
|---|---|---|
| committer | stepshal <nessento@openmailbox.org> | 2016-07-21 04:07:20 +0700 |
| commit | 0ef2f3616fd1e19ef2fafeebbc7f904a1fefcd51 (patch) | |
| tree | f7376209225d76903d916076dae94348d22f869b /setuptools | |
| parent | e6d6f7bd99d7329a5689980ac74c9e227bd0f503 (diff) | |
| download | external_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__.py | 6 |
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) |
