From 6debd868f50a31c79008afc89c0ec20d39468032 Mon Sep 17 00:00:00 2001 From: Niall Darwin <51384867+NiallDarwin@users.noreply.github.com> Date: Tue, 2 Feb 2021 12:54:59 +1300 Subject: [PATCH] Update virtual.rst Assert now works without error. --- doc/interfaces/virtual.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/interfaces/virtual.rst b/doc/interfaces/virtual.rst index f583cee65..b3fa7b38e 100644 --- a/doc/interfaces/virtual.rst +++ b/doc/interfaces/virtual.rst @@ -95,7 +95,10 @@ Example bus1.send(msg1) msg2 = bus2.recv() - assert msg1 == msg2 + #assert msg1 == msg2 + assert msg1.arbitration_id == msg2.arbitration_id + assert msg1.data == msg2.data + assert msg1.timestamp != msg2.timestamp Bus Class Documentation