def test_union_with_none(self): a = Range(None, None) b = Range(0, 10) self.assertEqual(Range(None, None), a.union(b))