Skip to content

Commit bf0fa0e

Browse files
Revert "Add clear_cache() calls in 'test/fields.uts' (#4705)"
This reverts commit 7f0f095.
1 parent d4d6655 commit bf0fa0e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/fields.uts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,6 @@ assert b[TestPkt:2].f1 == 100
616616
assert Raw in b and b[Raw].load == b"123456"
617617

618618
a.plist.append(TestPkt(f1=200))
619-
a.clear_cache() # List fields, if modified, do not automatically invalidate the cache. We currently have to do it explicitly.
620619
b = TestPLF2(raw(a))
621620
b.show()
622621
assert b.len1 == 5 and b.len2 == 5
@@ -714,7 +713,6 @@ assert b[TestPkt:2].f1 == 100
714713
assert Raw in b and b[Raw].load == b"123456"
715714

716715
a.plist.append(TestPkt(f1=200))
717-
a.clear_cache() # List fields, if modified, do not automatically invalidate the cache. We currently have to do it explicitly.
718716
b = TestPLF2(raw(a))
719717
b.show()
720718
assert b.len1 == 5 and b.len2 == 5

0 commit comments

Comments
 (0)