def _make_allocated_size_testcases():
 for unit in (Byte, MB, MiB, GB, GiB):
  for size in (1, 2, 4, 8):
   test_case = make_allocated_size_tests(unit(size))
   globals()[test_case.__name__] = test_case

def _make_allocated_size_testcases ( ) : for unit in ( Byte , MB , MiB , GB , GiB ) : for size in ( 1 , 2 , 4 , 8 ) : test_case = make_allocated_size_tests ( unit ( size ) ) globals ( ) [ test_case . __name__ ] = test_case
build test cases for some common allocation_units .