CI/simulator: Fix metadrive test pyopencl.CompilerWarning (#32487)

* add pytest.mark.filterwarnings

* remove -W pyopencl.CompilerWarning

* add comment
This commit is contained in:
Hoang Bui
2024-05-20 17:41:31 -04:00
committed by GitHub
parent 833316835a
commit f3f22a5698
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -8,6 +8,7 @@ from openpilot.tools.sim.bridge.metadrive.metadrive_bridge import MetaDriveBridg
from openpilot.tools.sim.tests.test_sim_bridge import TestSimBridgeBase
@pytest.mark.slow
@pytest.mark.filterwarnings("ignore::pyopencl.CompilerWarning") # Unimportant warning of non-empty compile log
class TestMetaDriveBridge(TestSimBridgeBase):
def create_bridge(self):
return MetaDriveBridge(False, False)