From c4891c7157be269d83b5963cb5bcceee0b0e3866 Mon Sep 17 00:00:00 2001 From: Matt Wala <wala1@illinois.edu> Date: Sun, 9 Jul 2017 19:43:27 -0500 Subject: [PATCH] flake8 fixes --- loopy/preprocess.py | 1 - test/test_target.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/loopy/preprocess.py b/loopy/preprocess.py index 30968630f..38499cb91 100644 --- a/loopy/preprocess.py +++ b/loopy/preprocess.py @@ -385,7 +385,6 @@ def _hackily_ensure_multi_assignment_return_values_are_scoped_private(kernel): newly_added_assignments_ids.add(new_assignment_id) - import loopy as lp new_temporaries[new_assignee_name] = ( TemporaryVariable( name=new_assignee_name, diff --git a/test/test_target.py b/test/test_target.py index 2c6119552..ad0cb7439 100644 --- a/test/test_target.py +++ b/test/test_target.py @@ -186,7 +186,7 @@ def test_tuple(ctx_factory): a, b = make_tuple(1, 2.) """) - evt, (a,b) = knl(queue) + evt, (a, b) = knl(queue) assert a.get() == 1 assert b.get() == 2. -- GitLab