Skip to content

Commit 8217a3f

Browse files
committed
Remove unnecessary parentheses
1 parent 6664eb7 commit 8217a3f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/error/test_graphql_error.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,14 @@ def is_comparable():
149149
e1 = GraphQLError("msg,", path=["field", 1])
150150
assert e1 == e1
151151
assert e1 == e1.formatted
152-
assert not (e1 != e1)
153-
assert not (e1 != e1.formatted)
152+
assert not e1 != e1
153+
assert not e1 != e1.formatted
154154
e2 = GraphQLError("msg,", path=["field", 1])
155155
assert e1 == e2
156-
assert not (e1 != e2)
156+
assert not e1 != e2
157157
assert e2.path and e2.path[1] == 1
158158
e2.path[1] = 2
159-
assert not (e1 == e2)
159+
assert not e1 == e2
160160
assert e1 != e2
161161
assert not e1 == e2.formatted
162162
assert e1 != e2.formatted

0 commit comments

Comments
 (0)