def test_saveUnPersistableThenFormat(self) -> None:
    '\n        Saving and loading an object which cannot be represented in JSON, but\n        has a string representation which I{can} be saved as JSON, will result\n        in the same string formatting; any extractable fields will retain their\n        data types.\n        '

    class Reprable():

        def __init__(self, value: object) -> None:
            self.value = value

        def __repr__(self) -> str:
            return 'reprable'
    inputEvent = {'log_format': '{object} {object.value}', 'object': Reprable(7)}
    outputEvent = eventFromJSON(self.savedEventJSON(inputEvent))
    self.assertEqual(formatEvent(outputEvent), 'reprable 7')
Saving and loading an object which cannot be represented in JSON, but
has a string representation which I{can} be saved as JSON, will result
in the same string formatting; any extractable fields will retain their
data types.
def test_saveUnPersistableThenFormat(self) -> None:
    '\n        Saving and loading an object which cannot be represented in JSON, but\n        has a string representation which I{can} be saved as JSON, will result\n        in the same string formatting; any extractable fields will retain their\n        data types.\n        '

    class Reprable():

        def __init__(self, value: object) -> None:
            self.value = value

        def __repr__(self) -> str:
            return 'reprable'
    inputEvent = {'log_format': '{object} {object.value}', 'object': Reprable(7)}
    outputEvent = eventFromJSON(self.savedEventJSON(inputEvent))
    self.assertEqual(formatEvent(outputEvent), 'reprable 7')