Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
951 B · 27 lines
12345678910111213141516171819202122232425262728From dbf0af29767629def355427cf63410158708c632 Mon Sep 17 00:00:00 2001From: Bot_wxt1221 <3264117476@qq.com>Date: Wed, 13 Nov 2024 21:15:04 +0800Subject: [PATCH] Update test_codegen.py
--- brian2/tests/test_codegen.py | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/brian2/tests/test_codegen.py b/brian2/tests/test_codegen.pyindex fdc03cdf2..6f7ae50bd 100644--- a/brian2/tests/test_codegen.py+++ b/brian2/tests/test_codegen.py@@ -589,13 +589,6 @@ def test_cpp_flags_support(): _, compile_args = get_compiler_and_args() assert compile_args == prefs["codegen.cpp.extra_compile_args"] - # Should never be supported and raise a warning- prefs["codegen.cpp.extra_compile_args"] = ["-invalidxyz"]- with catch_logs() as l:- _, compile_args = get_compiler_and_args()- assert len(l) == 1 and l[0][0] == "WARNING"- assert compile_args == []- prefs["codegen.cpp.extra_compile_args"] = old_prefs