Fix a test around rb/br string literals.

This commit is contained in:
Dave Halter
2017-09-02 14:09:15 +02:00
parent 7a85409da7
commit b944fb9145

View File

@@ -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)