diff options
Diffstat (limited to 'community/py-lz4/02-tests.patch')
-rw-r--r-- | community/py-lz4/02-tests.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/community/py-lz4/02-tests.patch b/community/py-lz4/02-tests.patch deleted file mode 100644 index dc1cb06926..0000000000 --- a/community/py-lz4/02-tests.patch +++ /dev/null @@ -1,24 +0,0 @@ -Last-Update: 2014-08-10 -Origin: https://github.com/steeve/python-lz4/blob/master/tests/test.py -Forwarded: not-needed -Author: Dmitry Smirnov <onlyjob@member.fsf.org> -Description: add basic test - ---- /dev/null -+++ b/tests/test.py -@@ -0,0 +1,15 @@ -+import lz4 -+import sys -+ -+ -+import unittest -+import os -+ -+class TestLZ4(unittest.TestCase): -+ -+ def test_random(self): -+ DATA = os.urandom(128 * 1024) # Read 128kb -+ self.assertEqual(DATA, lz4.loads(lz4.dumps(DATA))) -+ -+if __name__ == '__main__': -+ unittest.main() |