Skip to content

bpo-26915: Test identity first in membership operation#503

Merged
zhangyangyu merged 3 commits into
python:masterfrom
zhangyangyu:bpo-26915
Mar 8, 2017
Merged

bpo-26915: Test identity first in membership operation#503
zhangyangyu merged 3 commits into
python:masterfrom
zhangyangyu:bpo-26915

Conversation

@zhangyangyu
Copy link
Copy Markdown
Member

No description provided.

@mention-bot
Copy link
Copy Markdown

@zhangyangyu, thanks for your PR! By analyzing the history of the files in this pull request, we identified @rhettinger, @benjaminp, @1st1, @tiran and @ezio-melotti to be potential reviewers.

@serhiy-storchaka serhiy-storchaka requested review from rhettinger and removed request for serhiy-storchaka March 6, 2017 10:33
@serhiy-storchaka
Copy link
Copy Markdown
Member

The code LGTM, but I have no opinion about this issue.

Comment thread Lib/test/test_collections.py Outdated
for elem in container:
self.assertIn(elem, container)
self.assertEqual(seq.index(nan), 0)
self.assertNotEqual(seq.index(nan), 1)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This assertNotEqual seems redundant.

@zhangyangyu zhangyangyu merged commit d5d3249 into python:master Mar 8, 2017
@zhangyangyu zhangyangyu deleted the bpo-26915 branch March 8, 2017 03:04
zhangyangyu added a commit to zhangyangyu/cpython that referenced this pull request Mar 8, 2017
jaraco pushed a commit that referenced this pull request Dec 2, 2022
Bumps [cachetools](https://github.com/tkem/cachetools) from 4.2.4 to 5.0.0.
- [Release notes](https://github.com/tkem/cachetools/releases)
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](tkem/cachetools@v4.2.4...v5.0.0)

---
updated-dependencies:
- dependency-name: cachetools
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants