Beispiel #1
0
def test_base():
    assert sizeof(1) == getsizeof(1)
Beispiel #2
0
def test_base():
    assert sizeof(1) == getsizeof(1)
Beispiel #3
0
def test_containers():
    assert sizeof([1, 2, [3]]) > (getsizeof(3) * 3 + getsizeof([]))
Beispiel #4
0
def test_containers():
    assert sizeof([1, 2, [3]]) > (getsizeof(3) * 3 + getsizeof([]))