[Piglit] [RESEND RFC 12/25] gen_tcs_input_tests.py: fix imports

Vinson Lee vlee at freedesktop.org
Fri Oct 23 01:19:14 PDT 2015


On Wed, Oct 21, 2015 at 10:20 AM,  <baker.dylan.c at gmail.com> wrote:
> From: Dylan Baker <baker.dylan.c at gmail.com>
>
> Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
> ---
>  generated_tests/gen_tcs_input_tests.py | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/generated_tests/gen_tcs_input_tests.py b/generated_tests/gen_tcs_input_tests.py
> index ac56905..c705844 100644
> --- a/generated_tests/gen_tcs_input_tests.py
> +++ b/generated_tests/gen_tcs_input_tests.py
> @@ -37,7 +37,10 @@ This script outputs, to stdout, the name of each file it generates.
>
>  """
>
> -import os, sys, random
> +from __future__ import print_function, division, absolute_import
> +import os
> +import sys
> +import random
>
>
>  class Test(object):
> --
> 2.6.1
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit

Reviewed-by: Vinson Lee <vlee at freedesktop.org>


More information about the Piglit mailing list