It is pretty messy to have these print statements in the test file.
Instead of printing, it should --somehow-- be `unittest.fail("No datagram received")` or something of the like.

I think probably the ideal solution would be to do `unittest.assertTrue(*conn.expect(dg))` where conn.expect() returns the tuple `(bool success, string errMsg).