

def test_bitmath_best_prefix_NIST(self):
    'bitmath.best_prefix return a Kibibyte for 1024'
    result = bitmath.best_prefix(1024)
    self.assertIs(type(result), bitmath.KiB)

dataset/ETHPy150Open tbielawa/bitmath/tests/test_best_prefix_NIST.py TestBestPrefixNIST.test_bitmath_best_prefix_NIST/original