Index: /trunk/psLib/test/imageops/tst_psImageStats.c
===================================================================
--- /trunk/psLib/test/imageops/tst_psImageStats.c	(revision 5838)
+++ /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;
Index: /trunk/psLib/test/imageops/verified/tst_psImageStats.stderr
===================================================================
--- /trunk/psLib/test/imageops/verified/tst_psImageStats.stderr	(revision 5838)
+++ /trunk/psLib/test/imageops/verified/tst_psImageStats.stderr	(revision 5839)
@@ -625,8 +625,4 @@
     Can not operate on a NULL psImage.
 <HOST>|E|psImageCountPixelMask (FILE:LINENO)
-    Invalid region.  Lower boundary greater than upper boundary.
-<HOST>|E|psImageCountPixelMask (FILE:LINENO)
-    psRegion input is outside of image boundary
-<HOST>|E|psImageCountPixelMask (FILE:LINENO)
     psRegion input contains 0 pixels
 
