def test_get_memory_info(self):
        p = psutil.Process(os.getpid())

        # step 1 - get a base value to compare our results
        rss1, vms1 = p.get_memory_info()
        percent1 = p.get_memory_percent()
        assert rss1 > 0
        assert vms1 > 0

        # step 2 - allocate some memory
        memarr = [None] * 1500000

        rss2, vms2 = p.get_memory_info()
        percent2 = p.get_memory_percent()
        # make sure that the memory usage bumped up
        assert rss2 > rss1
        assert vms2 >= vms1  # vms might be equal
        assert percent1 > percent2
        del memarr

#    def test_get_ext_memory_info(self):
#       # tested later in fetch all test suite
dataset/ETHPy150Open packages/psutil/test/test_psutil.py/TestCase.test_get_memory_info/swapped operands of `>`