Index: trunk/psLib/test/imageops/tst_psImageStats.c
===================================================================
--- trunk/psLib/test/imageops/tst_psImageStats.c	(revision 5137)
+++ trunk/psLib/test/imageops/tst_psImageStats.c	(revision 5839)
@@ -765,22 +765,4 @@
         return 100;
     }
-    //Test for invalid region parameters (lower > upper)
-    reg.y0 = 3;
-    reg.y1 = 1;
-    numPix2 = psImageCountPixelMask(in2, reg, 1);
-    if (numPix2 != -1) {
-        psError(PS_ERR_BAD_PARAMETER_VALUE, false,
-                "psImageCountPixelMask failed to return -1 for invalid Region input.\n");
-        return 7;
-    }
-    //Test for invalid region parameters (outside of image boundaries)
-    reg.y0 = 0;
-    reg.y1 = 10;
-    numPix2 = psImageCountPixelMask(in2, reg, 1);
-    if (numPix2 != -1) {
-        psError(PS_ERR_BAD_PARAMETER_VALUE, false,
-                "psImageCountPixelMask failed to return -1 for oversized Region input.\n");
-        return 8;
-    }
     //Test for invalid region (0 pixels, lower = upper)
     reg.x0 = 1;
