summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-17 21:56:16 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-17 21:56:16 +0000
commit6675f545519dab7efaac1f8c49b8ba10a6f41972 (patch)
treed980aa938dcb2d8818acdbe95d2474b559548769
parentae789730159b665971b551287a85a85c1c7eaa9a (diff)
downloadportage-6675f545519dab7efaac1f8c49b8ba10a6f41972.tar.gz
portage-6675f545519dab7efaac1f8c49b8ba10a6f41972.tar.bz2
portage-6675f545519dab7efaac1f8c49b8ba10a6f41972.zip
Test the edge case.
svn path=/main/trunk/; revision=14077
-rw-r--r--pym/portage/tests/xpak/test_decodeint.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pym/portage/tests/xpak/test_decodeint.py b/pym/portage/tests/xpak/test_decodeint.py
index c0f3264db..27e8ab7cf 100644
--- a/pym/portage/tests/xpak/test_decodeint.py
+++ b/pym/portage/tests/xpak/test_decodeint.py
@@ -12,3 +12,6 @@ class testDecodeIntTestCase(TestCase):
for n in xrange(1000):
self.assertEqual(decodeint(encodeint(n)), n)
+
+ for n in (2 ** 32 - 1,):
+ self.assertEqual(decodeint(encodeint(n)), n)