this comes from the pycodestyle testsuite -- I expect the tokenizer to raise an error for this however it seems to silently accept it now. # Bug report yep, this is just a single curly brace ```python } ``` ```console $ python3.11 -m tokenize t.py t.py:2:0: error: EOF in multi-line statement $ python3.12 -m tokenize t.py 0,0-0,0: ENCODING 'utf-8' 1,0-1,1: OP '}' 1,1-1,2: NEWLINE '\n' 2,0-2,0: ENDMARKER '' ``` # Your environment <!-- Include as many relevant details as possible about the environment you experienced the bug in --> - CPython versions tested on: d310fc776e - Operating system and architecture: ubuntu 22.04 x86_64 <!-- You can freely edit this text. Remove any lines you believe are unnecessary. -->