mysql 8.0 failure

Issue #499 closed
Michael Bayer
repo owner created an issue
tests.test_autogen_indexes.MySQLUniqueIndexTest_mysql+mysqldb_8_0_11.test_unchanged_idx_non_col (from pytest)
Failing for the past 1 build (Since Failed#953 )
Took 0.2 sec.
add description
Error Message

AttributeError: 'NoneType' object has no attribute 'name'

Stacktrace

Traceback (most recent call last):
  File "/home/jenkins/workspace/alembic_master/c16134e6/tests/test_autogen_indexes.py", line 615, in test_unchanged_idx_non_col
    diffs = self._fixture(m1, m2)
  File "/home/jenkins/workspace/alembic_master/c16134e6/tests/_autogen_fixtures.py", line 241, in _fixture
    autogen_context, uo
  File "/home/jenkins/workspace/alembic_master/c16134e6/alembic/autogenerate/compare.py", line 48, in _produce_net_changes
    autogen_context, upgrade_ops, schemas
  File "/home/jenkins/workspace/alembic_master/c16134e6/alembic/util/langhelpers.py", line 313, in go
    fn(*arg, **kw)
  File "/home/jenkins/workspace/alembic_master/c16134e6/alembic/autogenerate/compare.py", line 75, in _autogen_for_tables
    inspector, upgrade_ops, autogen_context)
  File "/home/jenkins/workspace/alembic_master/c16134e6/alembic/autogenerate/compare.py", line 190, in _compare_tables
    s, tname, conn_table, metadata_table
  File "/home/jenkins/workspace/alembic_master/c16134e6/alembic/util/langhelpers.py", line 313, in go
    fn(*arg, **kw)
  File "/home/jenkins/workspace/alembic_master/c16134e6/alembic/autogenerate/compare.py", line 619, in _compare_indexes_and_uniques
    obj_changed(conn_obj, metadata_obj, msg)
  File "/home/jenkins/workspace/alembic_master/c16134e6/alembic/autogenerate/compare.py", line 569, in obj_changed
    ops.DropIndexOp.from_index(old.const)
  File "/home/jenkins/workspace/alembic_master/c16134e6/alembic/operations/ops.py", line 905, in from_index
    index.table.name,
AttributeError: 'NoneType' object has no attribute 'name'