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/samplebinding/global.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/samplebinding/global.h') diff --git a/tests/samplebinding/global.h b/tests/samplebinding/global.h index 18ad56466..f8781eef8 100644 --- a/tests/samplebinding/global.h +++ b/tests/samplebinding/global.h @@ -49,3 +49,4 @@ #include "voidholder.h" #include "valueandvirtual.h" #include "expression.h" +#include "filter.h" -- cgit v1.2.3