diff options
| author | guido@google.com <guido@google.com> | 2011-03-29 19:09:45 (GMT) |
|---|---|---|
| committer | guido@google.com <guido@google.com> | 2011-03-29 19:09:45 (GMT) |
| commit | 69cfcabae3d72845d44e1078d25072fdbb02072c (patch) | |
| tree | 0aedaa424e8c8f7139567aed7b6980ea59e16c97 /Lib/test/test_xdrlib.py | |
| parent | 2008a8f8c09b18fbd24e8039553d50a828dd3fb2 (diff) | |
| parent | e6c1eb92675f67d1907bd7ba00c44262c18e93d4 (diff) | |
| download | cpython-69cfcabae3d72845d44e1078d25072fdbb02072c.zip cpython-69cfcabae3d72845d44e1078d25072fdbb02072c.tar.gz cpython-69cfcabae3d72845d44e1078d25072fdbb02072c.tar.bz2 | |
Merge.
Diffstat (limited to 'Lib/test/test_xdrlib.py')
| -rw-r--r-- | Lib/test/test_xdrlib.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_xdrlib.py b/Lib/test/test_xdrlib.py index 073448c..6004c9f 100644 --- a/Lib/test/test_xdrlib.py +++ b/Lib/test/test_xdrlib.py @@ -12,6 +12,7 @@ class XDRTest(unittest.TestCase): a = [b'what', b'is', b'hapnin', b'doctor'] p.pack_int(42) + p.pack_int(-17) p.pack_uint(9) p.pack_bool(True) p.pack_bool(False) @@ -29,6 +30,7 @@ class XDRTest(unittest.TestCase): self.assertEqual(up.get_position(), 0) self.assertEqual(up.unpack_int(), 42) + self.assertEqual(up.unpack_int(), -17) self.assertEqual(up.unpack_uint(), 9) self.assertTrue(up.unpack_bool() is True) |
