()
| 1046 | @pytest.mark.skipif("not np") |
| 1047 | @pytest.mark.filterwarnings("ignore:the matrix:PendingDeprecationWarning") |
| 1048 | def test_tokenize_numpy_matrix(): |
| 1049 | rng = np.random.RandomState(1234) |
| 1050 | a = np.asmatrix(rng.rand(100)) |
| 1051 | b = a.copy() |
| 1052 | assert check_tokenize(a) == check_tokenize(b) |
| 1053 | |
| 1054 | b[:10] = 1 |
| 1055 | assert check_tokenize(a) != check_tokenize(b) |
| 1056 | |
| 1057 | |
| 1058 | @pytest.mark.skipif("not sp") |
nothing calls this directly
no test coverage detected
searching dependent graphs…