MCPcopy Index your code
hub / github.com/numpy/numpy / setup_class

Method setup_class

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

Source from the content-addressed store, hash-verified

548class TestSFC64(Base):
549 @classmethod
550 def setup_class(cls):
551 cls.bit_generator = SFC64
552 cls.bits = 64
553 cls.dtype = np.uint64
554 cls.data1 = cls._read_csv(
555 join(pwd, './data/sfc64-testset-1.csv'))
556 cls.data2 = cls._read_csv(
557 join(pwd, './data/sfc64-testset-2.csv'))
558 cls.seed_error_type = (ValueError, TypeError)
559 cls.invalid_init_types = [(3.2,), ([None],), (1, None)]
560 cls.invalid_init_values = [(-1,)]
561
562 def test_legacy_pickle(self):
563 # Pickling format was changed in 2.0.x

Callers

nothing calls this directly

Calls 1

_read_csvMethod · 0.80

Tested by

no test coverage detected