mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-23 13:45:10 +00:00
Bugfix.
This commit is contained in:
parent
b53af6310c
commit
af4200ce45
@ -40,7 +40,7 @@ def scalar_type(request):
|
||||
def expected_signature(tp):
|
||||
s = "str" if sys.version_info[0] >= 3 else "unicode"
|
||||
t = type_name(tp)
|
||||
return f"test_{t}(x: {t}) -> Tuple[{s}, {t}]\n"
|
||||
return f"test_{t}(x: {t}) -> tuple[{s}, {t}]\n"
|
||||
|
||||
|
||||
def test_numpy_scalars(scalar_type):
|
||||
|
Loading…
Reference in New Issue
Block a user