You probably want to refer to the hex representation of each. When using the hex representation, you see they are almost identical, differing only in the fact that python's cbor2 defines a static array of length 3, whilst the cbor library, simply uses a dynamically-sized array for efficiency and adaptability on-chain. Both conform to the cbor standard.
Buffer.buffer memory cborArgs;
print(binascii.b2a_hex(cbor2.dumps([1, 222, 9000])))
As you can see, only difference is in the first byte, specifying dynamic, rather than static 3 element array. This in turn required an additional FF byte for terminating it.