mirror of
https://github.com/davidhalter/parso.git
synced 2025-12-08 21:54:54 +08:00
Fix a test around rb/br string literals.
This commit is contained in:
@@ -172,8 +172,8 @@ def test_ur_literals():
|
|||||||
check('Ur""', is_literal=not py_version >= 30)
|
check('Ur""', is_literal=not py_version >= 30)
|
||||||
check('UR""', is_literal=not py_version >= 30)
|
check('UR""', is_literal=not py_version >= 30)
|
||||||
check('bR""')
|
check('bR""')
|
||||||
# Starting with Python 3.3 this ordering is also possible, but we just
|
# Starting with Python 3.3 this ordering is also possible.
|
||||||
# enable it for all versions. It doesn't hurt.
|
if py_version >= 33:
|
||||||
check('Rb""')
|
check('Rb""')
|
||||||
# Starting with Python 3.6 format strings where introduced.
|
# Starting with Python 3.6 format strings where introduced.
|
||||||
check('fr""', is_literal=py_version >= 36)
|
check('fr""', is_literal=py_version >= 36)
|
||||||
|
|||||||
Reference in New Issue
Block a user