

def test_simple_round_up(self):
    'NIST: 1 GiB (as a MiB()) rounds up into a GiB()'
    GiB_in_MiB = bitmath.MiB(1024)
    GiB_in_MiB.assertIs(type(GiB_in_MiB.best_prefix()), bitmath.GiB)

dataset/ETHPy150Open tbielawa/bitmath/tests/test_best_prefix_NIST.py TestBestPrefixNIST.test_simple_round_up/VarMisuse@21/62 `self`->`GiB_in_MiB`