~ubuntu-branches/ubuntu/precise/python3.2/precise

« back to all changes in this revision

Viewing changes to Lib/test/test_ssl.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2011-02-14 16:12:14 UTC
  • mfrom: (10.1.3 experimental)
  • Revision ID: james.westby@ubuntu.com-20110214161214-f5vwa226kebccmt9
Tags: 3.2~rc3-1
Python 3.2 release candidate 3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
394
394
        ctx.load_verify_locations(CERTFILE, CAPATH)
395
395
        ctx.load_verify_locations(CERTFILE, capath=BYTES_CAPATH)
396
396
 
 
397
        # Issue #10989: crash if the second argument type is invalid
 
398
        self.assertRaises(TypeError, ctx.load_verify_locations, None, True)
 
399
 
397
400
    @skip_if_broken_ubuntu_ssl
398
401
    def test_session_stats(self):
399
402
        for proto in PROTOCOLS: