Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Num decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A Tests for perfkitbenchmarker.context. N/A unittest N/A mock perfkitbenchmarker context perfkitbenchmarker vm_util ThreadLocalBenchmarkSpecTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A self addCleanup N/A context SetThreadBenchmarkSpec None N/A testSetGet N/A N/A self N/A N/A N/A benchmark_spec N/A N/A mock MagicMock N/A N/A N/A context SetThreadBenchmarkSpec benchmark_spec N/A N/A N/A self assertEqual benchmark_spec N/A N/A context GetThreadBenchmarkSpec N/A testPropagation N/A N/A self N/A N/A N/A benchmark_spec N/A N/A mock MagicMock N/A N/A N/A context SetThreadBenchmarkSpec benchmark_spec _DoWork N/A N/A _ N/A N/A N/A N/A N/A self assertEqual benchmark_spec N/A N/A context GetThreadBenchmarkSpec N/A new_benchmark_spec N/A N/A mock MagicMock N/A N/A N/A context SetThreadBenchmarkSpec new_benchmark_spec N/A N/A N/A self assertNotEqual benchmark_spec N/A N/A context GetThreadBenchmarkSpec N/A N/A N/A self assertEqual new_benchmark_spec N/A N/A context GetThreadBenchmarkSpec N/A N/A N/A N/A vm_util RunThreaded _DoWork N/A range 10 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main