pybind11/tests/pybind11_tests.h
Dean Moldovan 81511be341 Replace std::cout with py::print in tests
With this change both C++ and Python write to sys.stdout which resolves
the capture issues noted in #351. Therefore, the related workarounds are
removed.
2016-09-07 01:25:27 +02:00

13 lines
250 B
C++

#pragma once
#include <pybind11/pybind11.h>
#include <functional>
#include <list>
namespace py = pybind11;
using namespace pybind11::literals;
class test_initializer {
public:
test_initializer(std::function<void(py::module &)> initializer);
};