mirror of
https://github.com/pybind/pybind11.git
synced 2026-03-14 20:27:47 +00:00
style: add pyupgrade check, 2.7+
This commit is contained in:
committed by
Henry Schreiner
parent
11e12fe455
commit
0e2e003508
@@ -50,7 +50,7 @@ def test_single_char_arguments():
|
||||
"""Tests failures for passing invalid inputs to char-accepting functions"""
|
||||
|
||||
def toobig_message(r):
|
||||
return "Character code point not in range({0:#x})".format(r)
|
||||
return "Character code point not in range({:#x})".format(r)
|
||||
|
||||
toolong_message = "Expected a character, but multi-character string found"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user