Пример #1
0
 def test_empty_region_2(self):
     with pytest.raises(AssertionError):
         rgn = MemoryRegion(start=0x1000, end=0xfff)
Пример #2
0
 def test_empty_region_1(self):
     with pytest.raises(AssertionError):
         rgn = MemoryRegion(start=0x1000, length=0)