[Piglit] [PATCH 5/5] run_parser_tests.py: Use PiglitConfig instead of SafeConfigParser
Dylan Baker
baker.dylan.c at gmail.com
Thu Jul 2 16:53:25 PDT 2015
On Thu, Jul 02, 2015 at 04:46:48PM -0700, Dylan Baker wrote:
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
> framework/tests/run_parser_tests.py | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/framework/tests/run_parser_tests.py b/framework/tests/run_parser_tests.py
> index cddaa58..2551a3d 100644
> --- a/framework/tests/run_parser_tests.py
> +++ b/framework/tests/run_parser_tests.py
> @@ -24,7 +24,6 @@ from __future__ import print_function, absolute_import
> import sys
> import os
> import shutil
> -import ConfigParser
>
> import nose.tools as nt
>
> @@ -108,7 +107,7 @@ class _Helpers(TestWithEnvClean):
>
> def setup(self):
> # Set core.PIGLIT_CONFIG back to pristine between tests
> - core.PIGLIT_CONFIG = ConfigParser.SafeConfigParser()
> + core.PIGLIT_CONFIG = core.PiglitConfig(allow_empty=True)
This is so supposed to be allow_no_value=True; it really is smart to
actually commit changes *before* sending them out. sigh.
Fixed locally
>
>
> class TestBackend(_Helpers):
> --
> 2.4.5
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150702/83bdc7c0/attachment.sig>
More information about the Piglit
mailing list