[Checkins] [zopefoundation/zope.configuration] 5e41e4: Use stdlib's 'assertRaises'.

GitHub noreply at github.com
Thu Sep 29 17:39:18 CEST 2016


  Branch: refs/heads/use-stdlib-assertRaises
  Home:   https://github.com/zopefoundation/zope.configuration
  Commit: 5e41e41212ab42af283196d0e7e72e1e5ba3b8fd
      https://github.com/zopefoundation/zope.configuration/commit/5e41e41212ab42af283196d0e7e72e1e5ba3b8fd
  Author: Tres Seaver <tseaver at palladion.com>
  Date:   2016-09-29 (Thu, 29 Sep 2016)

  Changed paths:
    M src/zope/configuration/tests/test_config.py
    M src/zope/configuration/tests/test_fields.py
    M src/zope/configuration/tests/test_name.py
    M src/zope/configuration/tests/test_xmlconfig.py

  Log Message:
  -----------
  Use stdlib's 'assertRaises'.

- Drop the Python < 2.7 compatibility shim from
  d25ab5ed518eff905f4ea46c4194f5d30d21cf61.
- Use 'assertRaises' as context manager everywhere.
- Fix up related assertions.




More information about the checkins mailing list