Skip to content
Snippets Groups Projects

[DelayedSample(Set)] make load and delayed_attributes private

Files

@@ -101,6 +101,10 @@ def test_delayed_samples():
child_sample = Sample(1, parent=delayed_sample)
assert child_sample.data == 1, child_sample.data
assert child_sample.annot == "annotation", child_sample.annot
assert child_sample.__dict__ == {
"data": 1,
"annot": "annotation",
}, child_sample.__dict__
delayed_sample.annot = "changed"
assert delayed_sample.annot == "changed", delayed_sample.annot
Loading