From c5fd9d9dbb33bc4ddbf68315d6b15dc274f076cd Mon Sep 17 00:00:00 2001 From: Lauro Neto Date: Tue, 29 Mar 2011 17:26:57 -0300 Subject: Tests for reverse operators CPython calls nb_and with swapped arguments for reverse operators. This tests checks if the reverse operator raises NotImplementedError instead of TypeError when there isn't a valid reverse operator. Raising TypeError would cause the operator to fail. --- tests/libsample/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/libsample/CMakeLists.txt') diff --git a/tests/libsample/CMakeLists.txt b/tests/libsample/CMakeLists.txt index e1abe6a9b..b2ac420ce 100644 --- a/tests/libsample/CMakeLists.txt +++ b/tests/libsample/CMakeLists.txt @@ -37,6 +37,7 @@ str.cpp strlist.cpp virtualmethods.cpp expression.cpp +filter.cpp ) include_directories(${CMAKE_CURRENT_SOURCE_DIR}) -- cgit v1.2.3