python3: upgrade func_code core object to __code__ (#40570)
This commit is contained in:
parent
cb22af6cb2
commit
21484832f2
|
@ -10,7 +10,7 @@ from utils import login, get_table
|
|||
|
||||
def pytest_generate_tests(metafunc):
|
||||
if hasattr(metafunc, 'function'):
|
||||
fcode = metafunc.function.func_code
|
||||
fcode = metafunc.function.__code__
|
||||
if 'visualization' in fcode.co_varnames[:fcode.co_argcount]:
|
||||
tables = json.load(
|
||||
open(
|
||||
|
|
Loading…
Reference in New Issue