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

Method setup_class

numpy/random/tests/test_direct.py:493–503  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

491class TestSFC64(Base):
492 @classmethod
493 def setup_class(cls):
494 cls.bit_generator = SFC64
495 cls.bits = 64
496 cls.dtype = np.uint64
497 cls.data1 = cls._read_csv(
498 join(pwd, './data/sfc64-testset-1.csv'))
499 cls.data2 = cls._read_csv(
500 join(pwd, './data/sfc64-testset-2.csv'))
501 cls.seed_error_type = (ValueError, TypeError)
502 cls.invalid_init_types = [(3.2,), ([None],), (1, None)]
503 cls.invalid_init_values = [(-1,)]
504
505
506class TestDefaultRNG:

Callers

nothing calls this directly

Calls 2

joinFunction · 0.85
_read_csvMethod · 0.80

Tested by

no test coverage detected