[Checkins] [zopefoundation/zope.configuration] 5e41e4: Use stdlib's 'assertRaises'.
GitHub
noreply at github.com
Thu Sep 29 18:23:10 CEST 2016
Branch: refs/heads/master
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.
Commit: aa7089952dc91b12ca0927dde97a650ac1f19da8
https://github.com/zopefoundation/zope.configuration/commit/aa7089952dc91b12ca0927dde97a650ac1f19da8
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_xmlconfig.py
Log Message:
-----------
'assertTrue(foo in bar)'->'assertIn(foo, bar)'.
Addresses:
https://github.com/zopefoundation/zope.configuration/pull/15#discussion_r81169280
Commit: 8f950a08e1d48a38b26f9639efb8a0870dfad8fe
https://github.com/zopefoundation/zope.configuration/commit/8f950a08e1d48a38b26f9639efb8a0870dfad8fe
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_xmlconfig.py
Log Message:
-----------
'assertTrue(isinstance(foo, Bar)'->'assertIsInstance(foo, Bar)'.
Commit: 1260cc51bf5c66fbc48861765307a14a56bd92f2
https://github.com/zopefoundation/zope.configuration/commit/1260cc51bf5c66fbc48861765307a14a56bd92f2
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:
-----------
Merge pull request #15 from zopefoundation/use-stdlib-assertRaises
Use stdlib's 'assertRaises' / 'assertIn' / 'asssertisInstance'
Compare: https://github.com/zopefoundation/zope.configuration/compare/118ad9b5fb30...1260cc51bf5c
More information about the checkins
mailing list