Unicode raw strings don't exist in python 3.

This commit is contained in:
Feanil Patel
2019-09-05 08:55:50 -04:00
parent d04df12281
commit 0f42c7bdb7

View File

@@ -87,7 +87,7 @@ def test_out_of_order_start_state(settings):
del settings.RETIREMENT_STATES[0]
settings.RETIREMENT_STATES.insert(4, 'PENDING')
with pytest.raises(CommandError, match=ur'{} must be the first state'.format(START_STATE)):
with pytest.raises(CommandError, match=u'{} must be the first state'.format(START_STATE)):
call_command('populate_retirement_states')