diff --git a/test/error_test.py b/test/error_test.py index cb532b7..1f0eda9 100644 --- a/test/error_test.py +++ b/test/error_test.py @@ -1,8 +1,10 @@ # -*- coding: utf-8 -*- """ >>> from samila import * ->>> GI = GenerativeImage(data="data.json") +>>> import os +>>> g = GenerativeImage(data="data.json") Traceback (most recent call last): ... samila.errors.samilaDataError: Provided data file is not supported. It should be either file or io.IOBase. +>>> with open('data.json', 'r') """