fix structure_warnings

1 job for frictionless_py_migration in 2 minutes and 17 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Test
failed #6300
Run tests

00:02:17

 
Name Stage Failure
failed
Run tests Test

tests/test_core.py:446: AttributeError
=========================== short test summary info ============================
FAILED tests/test_core.py::test_missing_column - AttributeError: 'dict' objec...
FAILED tests/test_core.py::test_extra_column - AttributeError: 'dict' object ...
FAILED tests/test_core.py::test_disordered_columns - AttributeError: 'dict' o...
========================= 3 failed, 27 passed in 3.24s =========================
Cleaning up file based variables
ERROR: Job failed: exit code 1