File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ def test_properties():
99
99
assert instance .def_property == 3
100
100
101
101
with pytest .raises (AttributeError ):
102
- dummy = instance .def_property_writeonly
102
+ dummy = instance .def_property_writeonly # noqa: F841 unused var
103
103
instance .def_property_writeonly = 4
104
104
assert instance .def_property_readonly == 4
105
105
@@ -114,7 +114,7 @@ def test_static_properties():
114
114
assert m .TestProperties .def_readwrite_static == 2
115
115
116
116
with pytest .raises (AttributeError ) as excinfo :
117
- dummy = m .TestProperties .def_writeonly_static
117
+ dummy = m .TestProperties .def_writeonly_static # noqa: F841 unused var
118
118
assert "unreadable attribute" in str (excinfo )
119
119
120
120
m .TestProperties .def_writeonly_static = 3
@@ -147,7 +147,7 @@ def test_static_properties():
147
147
assert instance .def_readwrite_static == 2
148
148
149
149
with pytest .raises (AttributeError ) as excinfo :
150
- dummy = instance .def_property_writeonly_static
150
+ dummy = instance .def_property_writeonly_static # noqa: F841 unused var
151
151
assert "unreadable attribute" in str (excinfo )
152
152
153
153
instance .def_property_writeonly_static = 4
You can’t perform that action at this time.
0 commit comments