From 6ce8f458f51628df68a559784d42f4874b15e21c Mon Sep 17 00:00:00 2001 From: Yesudeep Mangalapilly Date: Thu, 11 Aug 2011 01:48:25 +0530 Subject: Tests are now functional (only running without syntax errors) on Python 3 too. --- rsa/pkcs1.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'rsa/pkcs1.py') diff --git a/rsa/pkcs1.py b/rsa/pkcs1.py index fbe9fe7..9686cf9 100644 --- a/rsa/pkcs1.py +++ b/rsa/pkcs1.py @@ -374,7 +374,7 @@ __all__ = ['encrypt', 'decrypt', 'sign', 'verify', 'DecryptionError', 'VerificationError', 'CryptoError'] if __name__ == '__main__': - print 'Running doctests 1000x or until failure' + print('Running doctests 1000x or until failure') import doctest for count in range(1000): @@ -383,6 +383,6 @@ if __name__ == '__main__': break if count and count % 100 == 0: - print '%i times' % count + print('%i times' % count) - print 'Doctests done' + print('Doctests done') -- cgit v1.2.1