make python test compatible with python 3

This commit is contained in:
arvidn 2016-08-07 19:11:27 -04:00
parent 42b3fbe20a
commit d03fdf77f4
1 changed files with 0 additions and 2 deletions

View File

@ -18,8 +18,6 @@ class test_create_torrent(unittest.TestCase):
content = lt.bencode(entry).strip() content = lt.bencode(entry).strip()
with open('unordered.torrent', 'r') as f: with open('unordered.torrent', 'r') as f:
file_content = f.read().strip() file_content = f.read().strip()
print file_content
print content
self.assertEqual(content, file_content) self.assertEqual(content, file_content)
class test_torrent_handle(unittest.TestCase): class test_torrent_handle(unittest.TestCase):