MCPcopy Create free account
hub / github.com/numpy/numpy / setup_class

Method setup_class

numpy/random/tests/test_smoke.py:755–762  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

753class TestSFC64(RNG):
754 @classmethod
755 def setup_class(cls):
756 cls.bit_generator = SFC64
757 cls.advance = None
758 cls.seed = [12345]
759 cls.rg = Generator(cls.bit_generator(*cls.seed))
760 cls.initial_state = cls.rg.bit_generator.state
761 cls.seed_vector_bits = 192
762 cls._extra_setup()
763
764
765class TestPCG64(RNG):

Callers

nothing calls this directly

Calls 1

_extra_setupMethod · 0.80

Tested by

no test coverage detected