EOF
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-py-9-1 xg-py-9-1.py 2>xg-py-9-1.err || Exit 1
+${XGETTEXT} --omit-header --no-location -d xg-py-9-1 xg-py-9-1.py 2>xg-py-9-1.tmp || Exit 1
+grep -v '^==' xg-py-9-1.tmp > xg-py-9-1.err
# Expect no warning here (because the format string has only one placeholder).
if test -s xg-py-9-1.err; then
Exit 1
EOF
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-py-9-2 xg-py-9-2.py 2>xg-py-9-2.err || Exit 1
+${XGETTEXT} --omit-header --no-location -d xg-py-9-2 xg-py-9-2.py 2>xg-py-9-2.tmp || Exit 1
+grep -v '^==' xg-py-9-2.tmp > xg-py-9-2.err
# Expect a warning here (because the format string has two placeholders).
test -s xg-py-9-2.err || Exit 1