

def test_best_prefix_prefer_NIST_from_NIST(self):
    'NIST: Best prefix honors a NIST preference when starting with an NIST unit\n\nStart with a NIST (GiB) unit and prefer a NIST unit as the result (MiB)'
    should_be_MiB = bitmath.GiB(0.5).best_prefix(system=bitmath.NIST)
    should_be_MiB.assertIs(type(should_be_MiB), bitmath.MiB)

dataset/ETHPy150Open tbielawa/bitmath/tests/test_best_prefix_NIST.py TestBestPrefixNIST.test_best_prefix_prefer_NIST_from_NIST/VarMisuse@30/116 `self`->`should_be_MiB`