We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f032d9 commit 97ba7b0Copy full SHA for 97ba7b0
lib/matplotlib/tests/test_path.py
@@ -4,5 +4,7 @@
4
def test_readonly_path():
5
path = Path.unit_circle()
6
7
- with assert_raises(AttributeError):
+ def modify_vertices():
8
path.vertices = path.vertices * 2.0
9
+
10
+ assert_raises(AttributeError, modify_vertices)
0 commit comments