From af741544977fcf5710fc3c5f3f650a7ea901c6d4 Mon Sep 17 00:00:00 2001 From: nareshnootoo Date: Wed, 28 Sep 2016 14:11:15 +0530 Subject: [PATCH] Fixed exception --- voluptuous/validators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voluptuous/validators.py b/voluptuous/validators.py index 5b86564..36a9fde 100644 --- a/voluptuous/validators.py +++ b/voluptuous/validators.py @@ -806,7 +806,7 @@ class Number(object): >>> schema = Schema(Number(precision=6, scale=2)) >>> schema('1234.01') - 1234.01 + '1234.01' >>> schema = Schema(Number(precision=6, scale=2, yield_decimal=True)) >>> schema('1234.01') Decimal('1234.01')