[test] Name the longjmp_throw loop variable after the setting it drives (#28542)

The loop variable was called disable_throw but sets
DISABLE_EXCEPTION_CATCHING, and a stray print of it was left in. Rename
it and drop the print. Behaviour is unchanged.
diff --git a/test/test_core.py b/test/test_core.py
index ffbef4c..6331947 100644
--- a/test/test_core.py
+++ b/test/test_core.py
@@ -1087,11 +1087,13 @@
   def test_longjmp_exc(self):
     self.do_core_test('test_longjmp_exc.c', assert_returncode=NON_ZERO)
 
-  def test_longjmp_throw(self):
-    for disable_throw in (0, 1):
-      print(disable_throw)
-      self.set_setting('DISABLE_EXCEPTION_CATCHING', disable_throw)
-      self.do_core_test('test_longjmp_throw.cpp')
+  @parameterized({
+    '': (0,),
+    'no_catching': (1,),
+  })
+  def test_longjmp_throw(self, disable_catching):
+    self.set_setting('DISABLE_EXCEPTION_CATCHING', disable_catching)
+    self.do_core_test('test_longjmp_throw.cpp')
 
   @with_all_sjlj
   def test_longjmp_unwind(self):