From 896a4e1a8dd1344b118b1048a0e8d1411de72a13 Mon Sep 17 00:00:00 2001 From: Daniel Thompson Date: Fri, 4 Dec 2020 20:35:16 +0000 Subject: [PATCH] simulator: Suppress the pysdl2/numpy warning This makes the simulator look nicer when it starts up... but it doesn't help the simulator. Signed-off-by: Daniel Thompson --- wasp/boards/simulator/display.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wasp/boards/simulator/display.py b/wasp/boards/simulator/display.py index 144004f..8efbb9c 100644 --- a/wasp/boards/simulator/display.py +++ b/wasp/boards/simulator/display.py @@ -3,6 +3,9 @@ """ Simulated ST7789 display and CST816S touchscreen. """ +import warnings +warnings.simplefilter("ignore", lineno=58) + import sys import sdl2 import sdl2.ext