test C and C++ detection when editing header files

This commit is contained in:
Alan Hamlett 2015-09-06 20:06:36 -07:00
parent f53044fd23
commit 4c8919f9ac
11 changed files with 49 additions and 17 deletions

View file

View file

@ -0,0 +1,26 @@
# -*- coding: utf-8 -*-
import os
import django
import simplejson as json
from wakatime import utils
from mypackage.mymodule import myfunction
from . import privatemodule
try:
from mock import ANY
except ImportError:
from unittest.mock import ANY
class MyClass(object):
"""this class
"""
def method1(self):
a = 1 + 2
b = 'hello world!'
for x in y:
print(x)
raise Exception()

View file

View file

View file

View file

View file

@ -0,0 +1,2 @@
first line
second line