c=biconfigs.Biconfigs(path='.test.json', async_write=False)
# class "datetime" is not JSON serializablewithpytest.raises(biconfigs.DumpError):
c[time.time()] =datetime.datetime.now()
But Failed with this:
c=biconfigs.Biconfigs(path='.test.json', async_write=True)
# class "datetime" is not JSON serializablewithpytest.raises(biconfigs.DumpError):
c[time.time()] =datetime.datetime.now()