Skip to content

Commit 360e742

Browse files
committed
Fix failing test
1 parent d3fe0ad commit 360e742

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

jmespath/parser.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,7 @@ def _token_led_lparen(self, left):
277277
name = left['value']
278278
args = []
279279
while not self._current_token() == 'rparen':
280-
if self._current_token() == 'current':
281-
expression = ast.current_node()
282-
self._advance()
283-
else:
284-
expression = self._expression()
280+
expression = self._expression()
285281
if self._current_token() == 'comma':
286282
self._match('comma')
287283
args.append(expression)

0 commit comments

Comments
 (0)