我用测试运行django测试。
但是在我添加package fixtures之后,python manage.py测试无法正常运行并卡住。
包装夹具(我已将其最小化以调试失败原因):
template<typename S, typename T>
static bool TEST_EQ(S&& a, T&& b)
{
// if you need to check that S and T should be the same type
static_assert(is_same_v<remove_cvref_t<S>, remove_cvref_t<T>>, "S and T must be the same type.");
return forward<S>(a) == forward<T>(b);
}
在我正常运行测试后,shell被卡住了:
def setup_package():
pass
def teardown_package():
pass