On Wed, Oct 21, 2015 at 10:20 AM,  <baker.dyla...@gmail.com> wrote:
> From: Dylan Baker <baker.dyla...@gmail.com>
>
> one import per line per PEP8, and use the __future__ imports to enforce
> python 2.x and python 3.x compatibility.
>
> Signed-off-by: Dylan Baker <dylanx.c.ba...@intel.com>
> ---
>  generated_tests/gen_tes_input_tests.py | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/generated_tests/gen_tes_input_tests.py 
> b/generated_tests/gen_tes_input_tests.py
> index 3bd1787..110193a 100644
> --- a/generated_tests/gen_tes_input_tests.py
> +++ b/generated_tests/gen_tes_input_tests.py
> @@ -40,7 +40,10 @@ This script outputs, to stdout, the name of each file it 
> generates.
>
>  """
>
> -import os, sys, random
> +from __future__ import print_function, absolute_import, division
> +import os
> +import sys
> +import random
>
>
>  class Test(object):
> --
> 2.6.1
>
> _______________________________________________
> Piglit mailing list
> Piglit@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit

Reviewed-by: Vinson Lee <v...@freedesktop.org>
_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to