Switch unit tests to the context manager form of assertRaisesMessage.

Review Request #10293 — Created Oct. 31, 2018 and submitted

chipx86
Django Evolution
master
b74b1df...
django-evolution

We have a lot of older unit tests that use the lambda form of
assertRaisesMessage, which is a bit more annoying to work with. This
was needed for older Python support. In preparation for some other
unit test changes, this change performs some cleanup on these calls,
switching to the context manager form in all calls.

Unit tests pass.

  • 0
  • 0
  • 3
  • 0
  • 3
Description From Last Updated
Checks run (1 failed, 1 succeeded)
flake8 failed.
JSHint passed.

flake8

chipx86
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (f281b14)
Loading...