diff options
author | Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> | 2018-05-17 23:31:16 +0200 |
---|---|---|
committer | Ronny Pfannschmidt <opensource@ronnypfannschmidt.de> | 2018-05-23 16:45:09 +0200 |
commit | 9aacb4635e81edd6ecf281d4f6c0cfc8e94ab301 (patch) | |
tree | 195e1646c52970c23a8c1e0d3460841646a32e69 /testing/code/test_excinfo.py | |
parent | d41119ed04b4b48e0d5db74d7a4ee29192d9e6b1 (diff) | |
download | pytest-9aacb4635e81edd6ecf281d4f6c0cfc8e94ab301.tar.gz |
run pyupgrade
Diffstat (limited to 'testing/code/test_excinfo.py')
-rw-r--r-- | testing/code/test_excinfo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/code/test_excinfo.py b/testing/code/test_excinfo.py index 8fd59423f..0f044c9f5 100644 --- a/testing/code/test_excinfo.py +++ b/testing/code/test_excinfo.py @@ -203,8 +203,8 @@ class TestTraceback_f_g_h(object): excinfo = pytest.raises(ValueError, h) traceback = excinfo.traceback ntraceback = traceback.filter() - print('old: {0!r}'.format(traceback)) - print('new: {0!r}'.format(ntraceback)) + print('old: {!r}'.format(traceback)) + print('new: {!r}'.format(ntraceback)) if matching: assert len(ntraceback) == len(traceback) - 2 |