diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2023-05-19 21:30:34 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-19 21:30:34 -0400 |
| commit | cd0956e69ddd716163ac1a6b47db8982da2b856a (patch) | |
| tree | dfef78094cdd660c744da81338dbbee24bda0a44 /tests/topotests/munet/cli.py | |
| parent | f6f2059faf23176d822beffedea6d03b3f9a32a2 (diff) | |
| parent | 76b246aa1f779e17ce6845c6ab0c292497b0008f (diff) | |
Merge pull request #13559 from opensourcerouting/fix/ignore_decoding_chars
tests: Ignore utf-8 decoding errors
Diffstat (limited to 'tests/topotests/munet/cli.py')
| -rw-r--r-- | tests/topotests/munet/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/munet/cli.py b/tests/topotests/munet/cli.py index f58ea99d67..fc88dc320a 100644 --- a/tests/topotests/munet/cli.py +++ b/tests/topotests/munet/cli.py @@ -93,7 +93,7 @@ def spawn(unet, host, cmd, iow, ns_only): elif master_fd in r: o = os.read(master_fd, 10240) if o: - iow.write(o.decode("utf-8")) + iow.write(o.decode("utf-8", "ignore")) iow.flush() finally: # restore tty settings back |
