Building Module - Unable to set correct type for DEFAULT_LOCAL_TMP

I have just started to learn on how to build modules in Ansible.

I have followed this page, http://docs.ansible.com/ansible/latest/dev_guide/developing_modules_general.html

I created the python file, cloned the ansible repo told there, and ran the command,

ansible/hacking/test-module -m ./timetest.py

But I am getting something like this, 

Unable to set correct type for DEFAULT_LOCAL_TMP, skipping* including generated source, if any, saving to: /home/luvpreet/.ansible_module_generated
***********************************
RAW OUTPUT
{"time": "2017-07-26 17:55:17.854018"}

***********************************
PARSED OUTPUT
{
    "time": "2017-07-26 17:55:17.854018"
}
Traceback (most recent call last):
  File "ansible/hacking/test-module", line 271, in <module>
    shutil.rmtree(C.DEFAULT_LOCAL_TMP, True)
AttributeError: 'module' object has no attribute 'DEFAULT_LOCAL_TMP'

What is the issue here ?

I can't help with you problem, but wanted mention that Ansible has a list for development, you might have better luck there.

https://docs.ansible.com/ansible/latest/community.html#mailing-list-information