def to_frame(self, slot=SLOT.NDEF):
        data = self.to_string()
        payload = data.ljust(64, b'\0')
        return yubikey_frame.YubiKeyFrame(command = slot, payload = payload)
Replaces sqlalchemy.util.warn during tests.
dataset/ETHPy150Open Yubico/python-yubico/yubico/yubikey_neo_usb_hid.py/YubiKeyNEO_NDEF.to_frame--crossover with--dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/testing/warnings.py/testing_warn