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