summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSybren A. St?vel <sybren@stuvel.eu>2012-06-18 16:03:32 +0200
committerSybren A. St?vel <sybren@stuvel.eu>2012-06-18 16:03:32 +0200
commit4592bc22f7321694867f5a19b53db34ad7337e6b (patch)
treec9dd64a78b0f5a8a73b956e3e50c7a5de81ccb17 /tests
parent0816dcc26f8e6cb5c19ab9b62e1cf27b77b35cf4 (diff)
downloadrsa-4592bc22f7321694867f5a19b53db34ad7337e6b.tar.gz
Tweaked unittests for Python 3.x
Diffstat (limited to 'tests')
-rw-r--r--tests/test__version200.py12
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)