[issue24533] Increased Test Coverage for Lib/random.py

2019-08-23 Thread Raymond Hettinger
Raymond Hettinger added the comment: The test code now includes this: def test_shuffle_random_argument(self): # Test random argument to shuffle. shuffle = self.gen.shuffle mock_random = unittest.mock.Mock(return_value=0.5) seq = bytearray(b'abcdefghijk')

[issue24533] Increased Test Coverage for Lib/random.py

2015-07-01 Thread Charles Nodell
Charles Nodell added the comment: Sounds fine! I look forward to seeing how to do this properly! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24533 ___

[issue24533] Increased Test Coverage for Lib/random.py

2015-06-29 Thread Charles Nodell
New submission from Charles Nodell: This patch just extends test coverage on the random library by a few lines. -- components: Tests files: mywork.patch keywords: patch messages: 245956 nosy: Charles Nodell priority: normal severity: normal status: open title: Increased Test Coverage

[issue24533] Increased Test Coverage for Lib/random.py

2015-06-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +mark.dickinson, rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24533 ___ ___

[issue24533] Increased Test Coverage for Lib/random.py

2015-06-29 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't mind adding a test but would like it to written somewhat differently. I'll work something up when I get a chance. Marking this as a low priority because the code is already working fine and this is just a nice addition to improve coverage.