()
| 1270 | |
| 1271 | @pytest.mark.skipif("not np") |
| 1272 | def test_tokenize_random_state_numpy(): |
| 1273 | a = np.random.RandomState(123) |
| 1274 | b = np.random.RandomState(123) |
| 1275 | c = np.random.RandomState(456) |
| 1276 | assert check_tokenize(a) == check_tokenize(b) |
| 1277 | assert check_tokenize(a) != check_tokenize(c) |
| 1278 | a.random() |
| 1279 | assert check_tokenize(a) != check_tokenize(b) |
| 1280 | |
| 1281 | |
| 1282 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected