From 574145cf4c9aebb0875f0f88e146137505e804a6 Mon Sep 17 00:00:00 2001 From: Tarun-Kumar07 Date: Sat, 1 Jun 2024 20:21:21 +0530 Subject: [PATCH] Fix imports --- tests/ops/functions/test_equal.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/tests/ops/functions/test_equal.py b/tests/ops/functions/test_equal.py index 11c8478fd55..4828e7f126f 100644 --- a/tests/ops/functions/test_equal.py +++ b/tests/ops/functions/test_equal.py @@ -16,10 +16,9 @@ Tests are divided by number of parameters and wires different operators take. """ import itertools - +import re # pylint: disable=too-many-arguments, too-many-public-methods from copy import deepcopy -import re import numpy as np import pytest @@ -30,11 +29,8 @@ from pennylane.measurements.probs import ProbabilityMP from pennylane.operation import Operator from pennylane.ops.functions.equal import ( - BASE_OPERATION_MISMATCH_ERROR_MESSAGE, - OPERANDS_MISMATCH_ERROR_MESSAGE, - _equal, - assert_equal, -) + BASE_OPERATION_MISMATCH_ERROR_MESSAGE, OPERANDS_MISMATCH_ERROR_MESSAGE, + _equal, assert_equal) from pennylane.ops.op_math import Controlled, SymbolicOp from pennylane.templates.subroutines import ControlledSequence