Skip to content

Commit 2f4cdbe

Browse files
committed
_data on BlockDevice should be a property
Reported by mypy
1 parent 683178d commit 2f4cdbe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testinfra/modules/blockdevice.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class BlockDevice(Module):
2222
If device is not a block device, RuntimeError is raised.
2323
"""
2424

25+
@property
2526
def _data(self):
2627
raise NotImplementedError
2728

0 commit comments

Comments
 (0)