[Piglit] [PATCH 1/2] tests/py_modules/consants: use future imports.

Brian Paul brianp at vmware.com
Fri Apr 1 20:08:37 UTC 2016


On 04/01/2016 01:23 PM, Dylan Baker wrote:
> This got missed in the conversion process.
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>   tests/py_modules/constants.py | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/tests/py_modules/constants.py b/tests/py_modules/constants.py
> index 7c54e4d..a4c84bf 100644
> --- a/tests/py_modules/constants.py
> +++ b/tests/py_modules/constants.py
> @@ -1,4 +1,4 @@
> -# Copyright (c) 2015 Intel Corporation
> +# Copyright (c) 2015, 2016 Intel Corporation
>
>   # Permission is hereby granted, free of charge, to any person obtaining a copy
>   # of this software and associated documentation files (the "Software"), to deal
> @@ -20,6 +20,9 @@
>
>   """Shared constants for test modules."""
>
> +from __future__ import (
> +    absolute_import, division, print_function, unicode_literals
> +)
>   import os
>   import sys
>   import subprocess
>

For the series,
Reviewed-by: Brian Paul <brianp at vmware.com>
Tested-by: Brian Paul <brianp at vmware.com>

Thanks!

-Brian



More information about the Piglit mailing list