Commits

Nick Coghlan  committed 8c51006

Correct comment

  • Participants
  • Parent commits d2660ac
  • Branches pep432_modular_bootstrap

Comments (0)

Files changed (1)

File Tools/_testembed.c

                        int config_sentinel,
                        int num_interpreters)
 {
+    /* As this suite is here primarily for regression testing rather than
+     * as a debugging aid, we take a simple approach where any unexpected
+     * behaviour aborts the process (which test_capi treats as a failure).
+     */
     int actual;
     PyInterpreterState *interp, *head_interp, *main_interp, *prev_interp;
     PyThreadState *ts = PyThreadState_Get();
-    /* test_capi will fail if any of the non-debug output is detected */
     /* Check core configuration contains expected sentinel value */
     actual = ts->interp->core_config.ignore_environment;
     if (actual != core_sentinel) {