              'bravo': ['alpha'],
              'alpha': ['bravo'],
          }
  
          self.assertRaises(ImproperlyConfigured, dependency_ordered, raw, dependencies=dependencies)
  
      def test_own_alias_dependency(self):
          raw = [
              ('s1', ('s1_db', ['alpha', 'bravo']))
          ]
 
</s> remove             self.assertRaises(SuspiciousOperation,
                              HttpResponseRedirect, url)
            self.assertRaises(SuspiciousOperation,
                              HttpResponsePermanentRedirect, url)
 </s> add             with self.assertRaises(SuspiciousOperation):
                HttpResponseRedirect(url)
            with self.assertRaises(SuspiciousOperation):
                HttpResponsePermanentRedirect(url) </s> remove             self.assertRaises(
                signing.BadSignature, signing.loads, transform(encoded))
 </s> add             with self.assertRaises(signing.BadSignature):
                signing.loads(transform(encoded)) </s> remove         self.assertRaises(ImproperlyConfigured, Sitemap().get_urls)
 </s> add         with self.assertRaises(ImproperlyConfigured):
            Sitemap().get_urls() </s> remove         self.assertRaises(ImproperlyConfigured, lambda: ops.spatial_version)
 </s> add         with self.assertRaises(ImproperlyConfigured):
            ops.spatial_version </s> remove             self.assertRaises(
                signing.BadSignature, signer.unsign, transform(signed_value))
 </s> add             with self.assertRaises(signing.BadSignature):
                signer.unsign(transform(signed_value))
        with self.assertRaises(ImproperlyConfigured):
            dependency_ordered(raw, dependencies=dependencies)
              'bravo': ['alpha'],
              'alpha': ['bravo'],
          }
  
        with self.assertRaises(ImproperlyConfigured):
            dependency_ordered(raw, dependencies=dependencies)
  
      def test_own_alias_dependency(self):
          raw = [
              ('s1', ('s1_db', ['alpha', 'bravo']))
          ]
keep keep keep keep replace keep keep keep keep keep
 Refs #26022 -- Used context manager version of assertRaises in tests. 
tests/test_runner/tests.py