Lines Matching full:pytest
7 import pytest
16 @pytest.mark.parametrize("size", [127, 4096, -2])
18 with pytest.raises(ValueError):
21 @pytest.mark.parametrize(("size", "padded"), [
31 with pytest.raises(ValueError):
37 with pytest.raises(TypeError):
40 with pytest.raises(TypeError):
43 @pytest.mark.parametrize(("size", "unpadded", "padded"), [
71 @pytest.mark.parametrize(("size", "unpadded", "padded"), [
92 with pytest.raises(AlreadyFinalized):
94 with pytest.raises(AlreadyFinalized):
100 with pytest.raises(AlreadyFinalized):
102 with pytest.raises(AlreadyFinalized):
121 @pytest.mark.parametrize("size", [127, 4096, -2])
123 with pytest.raises(ValueError):
126 @pytest.mark.parametrize(("size", "padded"), [
137 with pytest.raises(ValueError):
143 with pytest.raises(TypeError):
146 with pytest.raises(TypeError):
149 @pytest.mark.parametrize(("size", "unpadded", "padded"), [
177 @pytest.mark.parametrize(("size", "unpadded", "padded"), [
198 with pytest.raises(AlreadyFinalized):
200 with pytest.raises(AlreadyFinalized):
206 with pytest.raises(AlreadyFinalized):
208 with pytest.raises(AlreadyFinalized):