mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/11780 Differential Revision: D9889925 Pulled By: gchanan fbshipit-source-id: 5eca849c36ced00b8ae7482b7945b445a3e1687e
9 lines
334 B
C++
9 lines
334 B
C++
#pragma once
|
|
|
|
#define CATCH_CONFIG_PREFIX_ALL
|
|
#include <catch.hpp>
|
|
|
|
// CATCH_REQUIRE_THROWS is not defined identically to REQUIRE_THROWS and causes warning;
|
|
// define our own version that doesn't warn.
|
|
#define _CATCH_REQUIRE_THROWS( ... ) INTERNAL_CATCH_THROWS( "CATCH_REQUIRE_THROWS", Catch::ResultDisposition::Normal, __VA_ARGS__ )
|