Fixed failing Python test due to JS (!) grammar bug