Unicode raw strings don't exist in python 3.
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user