mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-30 00:47:12 +00:00
522c59ceb2
* chore: drop Python 3.5 support * chore: more fstrings with flynt's help * ci: drop Python 3.5 * chore: bump dependency versions * docs: touch up py::args * tests: remove deprecation warning * Ban smartquotes * Very minor tweaks (by-product of reviewing PR #3719). Co-authored-by: Aaron Gokaslan <skylion.aaron@gmail.com> Co-authored-by: Ralf W. Grosse-Kunstleve <rwgk@google.com>
9 lines
198 B
Python
9 lines
198 B
Python
import sys
|
|
|
|
import test_cmake_build
|
|
|
|
assert isinstance(__file__, str) # Test this is properly set
|
|
|
|
assert test_cmake_build.add(1, 2) == 3
|
|
print(f"{sys.argv[1]} imports, runs, and adds: 1 + 2 = 3")
|