def test_fewer_than_two_args_fails():
    with patch('sys.argv', ['eg']):
        with patch('argparse.ArgumentParser.print_help') as mock_help:
            core.run_eg()
            mock_help.assert_called_once_with()
    _helper_assert_about_invocation(
        argv=['eg'],
        num_print_help_calls=1,
        num_show_list_calls=0,
        num_show_version_calls=0,
        num_handle_program_calls=0,
        num_handle_insufficient_args_calls=0,
        resolved_config='config',
        handle_program_args='not applicable',
        egrc_path=None,
        examples_dir=None,
        custom_dir=None,
        use_color=None,
        pager_cmd=None,
        squeeze=None
    )
Acquire the module-level lock for serializing access to shared data.
dataset/ETHPy150Open srsudar/eg/test/core_test.py/test_fewer_than_two_args_fails--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/logging/__init__.py/_acquireLock