diff --git a/test/test_other.py b/test/test_other.py index b99c9d49bc526..38fee92d05c20 100644 --- a/test/test_other.py +++ b/test/test_other.py @@ -2971,9 +2971,10 @@ def test_embind_closure_no_dynamic_execution(self): 'wasm64': ['-sMEMORY64', '-Wno-experimental'], }) @parameterized({ + # With no arguments we are effectively testing c++17 since it is the default. '': [], - # Ensure embind compiles under C++17 where "noexcept" became part of the function signature. - 'cxx17': ['-std=c++17'], + # Ensure embind compiles under C++11 which is the miniumum supported version. + 'cxx11': ['-std=c++11'], 'o1': ['-O1'], 'o2': ['-O2'], 'o2_mem_growth': ['-O2', '-sALLOW_MEMORY_GROWTH', test_file('embind/isMemoryGrowthEnabled=true.cpp')],