From 7d1a27050fe2f71ad0f712125731338cda5bc445 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 24 Oct 2024 13:31:56 +0000 Subject: [PATCH] style: pre-commit fixes --- tests/pybind11_tests.h | 2 +- tests/test_class.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/pybind11_tests.h b/tests/pybind11_tests.h index cfcc024fc7..a2aaa26d72 100644 --- a/tests/pybind11_tests.h +++ b/tests/pybind11_tests.h @@ -115,4 +115,4 @@ class TestContext { private: TestContext(std::string context) : context(context) {} std::string context; -}; \ No newline at end of file +}; diff --git a/tests/test_class.py b/tests/test_class.py index d3e9e07c1b..b95932069e 100644 --- a/tests/test_class.py +++ b/tests/test_class.py @@ -519,6 +519,7 @@ def test_all_type_info_multithreaded(): # "instance allocation failed: new instance has no pybind11-registered base types"); # } import threading + from pybind11_tests import TestContext class Context(TestContext):