MCPcopy Index your code
hub / github.com/RustPython/RustPython / random

Method random

Lib/test/test_random.py:1358–1360  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1356 # but inherit them from classes which are not subclasses of Random
1357 class Mixin1:
1358 def random(self):
1359 called.add('Mixin1.random')
1360 return random.Random.random(self)
1361 class Mixin2:
1362 def getrandbits(self, n):
1363 called.add('Mixin2.getrandbits')

Callers 15

feedMethod · 0.45
taskMethod · 0.45
task2Method · 0.45
test_getitemMethod · 0.45
test_reverseMethod · 0.45
test_copyMethod · 0.45
utcoffsetMethod · 0.45
__lt__Method · 0.45
testStressfullyMethod · 0.45
__lt__Method · 0.45
getranMethod · 0.45

Calls 1

addMethod · 0.45

Tested by

no test coverage detected