def test_errors_in_view_containment_check(self):
        class C:
            def __eq__(self, other):
                raise RuntimeError

        d1 = {1: C()}
        d2 = {1: C()}
        with self.assertRaises(RuntimeError):
            d1.items() == d2.items()
        with self.assertRaises(RuntimeError):
            d1.items() != d2.items()
        with self.assertRaises(RuntimeError):
            d1.items() <= d2.items()
        with self.assertRaises(RuntimeError):
            d1.items() >= d2.items()

        d3 = {1: C(), 2: C()}
        with self.assertRaises(RuntimeError):
            d3.items() < d2.items()
        with self.assertRaises(RuntimeError):
            d3.items() > d2.items()
dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_dict.py/DictTest.test_errors_in_view_containment_check/swapped operands of `<`