summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/codec/cer/test_encoder.py20
1 files changed, 11 insertions, 9 deletions
diff --git a/test/codec/cer/test_encoder.py b/test/codec/cer/test_encoder.py
index 5434996..b64cc1b 100644
--- a/test/codec/cer/test_encoder.py
+++ b/test/codec/cer/test_encoder.py
@@ -135,15 +135,17 @@ class GeneralizedTimeEncoderTestCase(unittest.TestCase):
else:
assert 0, 'Missing timezone tolerated'
- def testDecimalPoint(self):
- try:
- assert encoder.encode(
- useful.GeneralizedTime('20150501120112Z')
- )
- except PyAsn1Error:
- pass
- else:
- assert 0, 'Missing decimal point tolerated'
+# When enabled, this breaks many existing encodings
+#
+# def testDecimalPoint(self):
+# try:
+# assert encoder.encode(
+# useful.GeneralizedTime('20150501120112Z')
+# )
+# except PyAsn1Error:
+# pass
+# else:
+# assert 0, 'Missing decimal point tolerated'
class UTCTimeEncoderTestCase(unittest.TestCase):
def testFractionOfSecond(self):