diff options
author | Sybren A. St?vel <sybren@stuvel.eu> | 2012-06-18 16:03:32 +0200 |
---|---|---|
committer | Sybren A. St?vel <sybren@stuvel.eu> | 2012-06-18 16:03:32 +0200 |
commit | 4592bc22f7321694867f5a19b53db34ad7337e6b (patch) | |
tree | c9dd64a78b0f5a8a73b956e3e50c7a5de81ccb17 /tests | |
parent | 0816dcc26f8e6cb5c19ab9b62e1cf27b77b35cf4 (diff) | |
download | rsa-4592bc22f7321694867f5a19b53db34ad7337e6b.tar.gz |
Tweaked unittests for Python 3.x
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test__version200.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/test__version200.py b/tests/test__version200.py deleted file mode 100644 index 2a179a8..0000000 --- a/tests/test__version200.py +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -import unittest2 -from rsa._compat import b - -from rsa._version200 import int2bytes, bytes2int - -class Test_int2bytes(unittest2.TestCase): - def test_values(self): - self.assertEqual(int2bytes(123456789), b('\x07[\xcd\x15')) - self.assertEqual(bytes2int(int2bytes(123456789)), 123456789) |