This is to fix the failing test on modify_holding(), which is due to the lack of input checking done on the holding passed into the function. This could just as easily be fixed by wrapping everything in a try-catch to catch an AttributeError later in the function, but I think this pre-empts that and makes it a bit neater. Lemme know your thoughts.
This is to fix the failing test on
modify_holding()
, which is due to the lack of input checking done on the holding passed into the function. This could just as easily be fixed by wrapping everything in a try-catch to catch an AttributeError later in the function, but I think this pre-empts that and makes it a bit neater. Lemme know your thoughts.