Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 8, 2017

Conversation

zhangyangyu
Copy link
Member

No description provided.

@mention-bot
Copy link

@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
Member

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

ItemsView({1: nan, 2: obj}),
ValuesView({1: nan, 2: obj})
]
for container in containers:
for elem in container:
self.assertIn(elem, container)
self.assertEqual(seq.index(nan), 0)
self.assertNotEqual(seq.index(nan), 1)
Copy link
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] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mariatta Wijaya <[email protected]>
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