From da18e3ba8794b9eaa611c17fed23552dd51aa024 Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Mon, 14 Nov 2016 23:53:30 +0100 Subject: Add Python 2.6 support This also brings the list of Python versions in setup.py in line with tox.ini. --- stdnum/fi/associationid.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stdnum/fi/associationid.py') diff --git a/stdnum/fi/associationid.py b/stdnum/fi/associationid.py index 7af46c9..4efed2b 100644 --- a/stdnum/fi/associationid.py +++ b/stdnum/fi/associationid.py @@ -31,11 +31,11 @@ in groups of 0-3 and 0-3 numbers. E.g. 123.123, 12.123, 1.123, 123 or 1. >>> validate('123123123') Traceback (most recent call last): ... -stdnum.exceptions.InvalidLength: The number has an invalid length. +InvalidLength: The number has an invalid length. >>> validate('12df') Traceback (most recent call last): ... -stdnum.exceptions.InvalidFormat: The number has an invalid format. +InvalidFormat: The number has an invalid format. >>> format('123') '123' >>> format('1234') -- cgit v1.2.3