class_docstr: run some compile tests, even though these are redundant.
class_docstr_tok: ["run","some","compile","tests",",","even","though","these","are","redundant","."]
code: def test_mysql_read(self):
      User = self.classes.User
      sess = fixture_session()
      self.assert_compile(
          sess.query(User.id).with_for_update(read=True),
          "SELECT users.id AS users_id FROM users LOCK IN SHARE MODE",
          dialect="mysql",
      )
  
imports: from sqlalchemy import exc
  from sqlalchemy import testing
  from sqlalchemy.engine import default
  from sqlalchemy.orm import joinedload
  from sqlalchemy.orm import relationship
  from sqlalchemy.testing import assert_raises_message
  from sqlalchemy.testing import AssertsCompiledSQL
  from sqlalchemy.testing import eq_
  from sqlalchemy.testing.fixtures import fixture_session
  from test.orm import _fixtures
label_desc: Use image node_id 16 for calling the CompileTest obj's underlying member method code with example usage: obj.test_mysql_read() without return types