Browse Source

remove unneeded code, add some comments for additional tests to write..

[git-p4: depot-paths = "//depot/python/pypasn1/main/": change = 1822]
python2
John-Mark Gurney 9 years ago
parent
commit
17fc600564
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      pasn1.py

+ 3
- 3
pasn1.py View File

@@ -339,6 +339,9 @@ class TestCode(unittest.TestCase):
# XXX - still possible that an internal data member
# doesn't consume all

# XXX - test that sets are ordered properly
# XXX - test that dicts are ordered properly..

def test_nan(self):
s = dumps(float('nan'))
v = loads(s)
@@ -387,6 +390,3 @@ class TestCode(unittest.TestCase):

def test_loads(self):
self.assertRaises(ValueError, loads, '\x00\x02\x00')

if __name__ == '__main__':
pass

Loading…
Cancel
Save