[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 9841ac2da5689ff765250c1abdbf5af9d3750519 by Miss Islington (bot) in branch '3.10': bpo-45852: Fix the Counter/iter test for statistics.mode() (GH-29667) (GH-29671) https://github.com/python/cpython/commit/9841ac2da5689ff765250c1abdbf5af9d37

[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 48744db70ed519c1566c22bf123a0e1f5c69253f by Raymond Hettinger in branch 'main': bpo-45852: Fix the Counter/iter test for statistics.mode() (GH-29667) https://github.com/python/cpython/commit/48744db70ed519c1566c22bf123a0e1f5c69253f ---

[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +27910 pull_request: https://github.com/python/cpython/pull/29671 ___ Python tracker _

[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for noticing this. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.11 ___ Python tracker __

[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +27908 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29667 ___ Python tracker __

[issue45852] statistics.mode test doesn't test what it claims to

2021-11-20 Thread Alex Waygood
Change by Alex Waygood : -- nosy: +rhettinger, steven.daprano type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing

[issue45852] statistics.mode test doesn't test what it claims to

2021-11-19 Thread Stefan Pochmann
New submission from Stefan Pochmann : This test: def test_counter_data(self): # Test that a Counter is treated like any other iterable. data = collections.Counter([1, 1, 1, 2]) # Since the keys of the counter are treated as data points, not the # counts, this