MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_readonly_path

Function test_readonly_path

lib/matplotlib/tests/test_path.py:26–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25
26def test_readonly_path():
27 path = Path.unit_circle()
28
29 def modify_vertices():
30 path.vertices = path.vertices * 2.0
31
32 with pytest.raises(AttributeError):
33 modify_vertices()
34
35
36def test_path_exceptions():

Callers

nothing calls this directly

Calls 2

modify_verticesFunction · 0.85
unit_circleMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…