Merge pull request #409 from rachmadaniHaryono/feature/yaml-load

fix: test: ignore too many ancestor error
This commit is contained in:
Mischievous Meerkat 2019-07-23 23:29:16 +05:30 committed by GitHub
commit b55c388166
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ def setup():
os.remove(TEST_TEMP_DBFILE_PATH)
class PrettySafeLoader(yaml.SafeLoader):
class PrettySafeLoader(yaml.SafeLoader): # pylint: disable=too-many-ancestors
def construct_python_tuple(self, node):
return tuple(self.construct_sequence(node))