From 4918e28a2e382b9074008f954d3c702dd02fd755 Mon Sep 17 00:00:00 2001 From: Rogdham Date: Sat, 18 May 2013 21:00:46 +0100 Subject: [PATCH] Fix README to pass pytest doc test. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index a03d447..f715711 100644 --- a/README.rst +++ b/README.rst @@ -161,7 +161,7 @@ against schemas listed inside that container: >>> Schema([1, 0]).validate([1, 1, 0, 1]) [1, 1, 0, 1] - >>> Schema(set([int, float])).validate(set([5, 7, 8, 'not int or float here'])) + >>> Schema((int, float)).validate((5, 7, 8, 'not int or float here')) Traceback (most recent call last): ... SchemaError: Or(, ) did not validate 'not int or float here'