def test_empty_region_2(self): with pytest.raises(AssertionError): rgn = MemoryRegion(start=0x1000, end=0xfff)
def test_empty_region_1(self): with pytest.raises(AssertionError): rgn = MemoryRegion(start=0x1000, length=0)