Merge pull request #21582 from edx/feanil/fix_more_test_collection_issues

Feanil/fix more test collection issues
This commit is contained in:
Feanil Patel
2019-09-06 11:01:45 -04:00
committed by GitHub
2 changed files with 7 additions and 2 deletions

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