Trivial typos
Non-user facing.
Found using `codespell -q 3`
diff --git a/tests/test_factory_constructors.cpp b/tests/test_factory_constructors.cpp
index fb33377..687a5bf 100644
--- a/tests/test_factory_constructors.cpp
+++ b/tests/test_factory_constructors.cpp
@@ -13,7 +13,7 @@
#include <cmath>
// Classes for testing python construction via C++ factory function:
-// Not publically constructible, copyable, or movable:
+// Not publicly constructible, copyable, or movable:
class TestFactory1 {
friend class TestFactoryHelper;
TestFactory1() : value("(empty)") { print_default_created(this); }
diff --git a/tests/test_virtual_functions.cpp b/tests/test_virtual_functions.cpp
index 953b390..336f5e4 100644
--- a/tests/test_virtual_functions.cpp
+++ b/tests/test_virtual_functions.cpp
@@ -249,7 +249,7 @@
m.def("dispatch_issue_go", [](const Base * b) { return b->dispatch(); });
// test_override_ref
- // #392/397: overridding reference-returning functions
+ // #392/397: overriding reference-returning functions
class OverrideTest {
public:
struct A { std::string value = "hi"; };
diff --git a/tests/test_virtual_functions.py b/tests/test_virtual_functions.py
index b91ebfa..2a92476 100644
--- a/tests/test_virtual_functions.py
+++ b/tests/test_virtual_functions.py
@@ -227,7 +227,7 @@
def test_override_ref():
- """#392/397: overridding reference-returning functions"""
+ """#392/397: overriding reference-returning functions"""
o = m.OverrideTest("asdf")
# Not allowed (see associated .cpp comment)