mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-02 19:39:49 +09:00
Explain test_randbelow_without_getrandbits skip
This commit is contained in:
@@ -676,7 +676,7 @@ class MersenneTwister_TestBasicOps(TestBasicOps, unittest.TestCase):
|
||||
self.assertEqual(k, numbits) # note the stronger assertion
|
||||
self.assertTrue(2**k > n > 2**(k-1)) # note the stronger assertion
|
||||
|
||||
@unittest.skip("TODO: RUSTPYTHON")
|
||||
@unittest.skip("TODO: RUSTPYTHON, AttributeError: 'Random' object has no attribute '_randbelow_without_getrandbits'")
|
||||
def test_randbelow_without_getrandbits(self):
|
||||
# Random._randbelow() can only use random() when the built-in one
|
||||
# has been overridden but no new getrandbits() method was supplied.
|
||||
|
||||
Reference in New Issue
Block a user