Commits

Brian Curtin  committed 58752f2

compile 1/0 test and add a warning disable on it

  • Participants
  • Parent commits 694d2dc

Comments (0)

Files changed (1)

File tests/testmodule.c

 
 #include <Windows.h>
 
+#pragma warning(disable: 4723)
+
 void
 divide_by_zero()
 {
 static PyMethodDef tester_functions[] = {
     {"access_violation", (PyCFunction)test_access_violation,
                          METH_NOARGS, "this is a test"},
-#ifdef DEBUG
     {"divide_by_zero", (PyCFunction)test_divide_by_zero,
                          METH_NOARGS, "this is a test"},
-#endif
     {NULL, NULL, 0, NULL}
 };