code: def test_double_check_int():
      param = torch.rand((5, 6))
  
      bucket = ParamBucket(300, param.dtype, param.device)
      bucket.add_param(param)
  
      with pytest.raises(AssertionError):
          bucket.add_param(param)
  
imports: import pytest
  import torch
  from fairscale.nn.misc import ParamBucket
label_desc: Use image node_id 3 for calling a global function with example usage: test_double_check_int() without return types