rana-cli/tests/samples/codefiles/python.py
2016-08-31 17:13:25 +02:00

36 lines
691 B
Python

# -*- coding: utf-8 -*-
# vim: set filetype=python
import os, sys
import django.forms.monstertruck
from app import *
from flask import session
import simplejson as json
from . import privatemodule
from jinja import tags
from pygments.lexers import BaseLexer
from . import LocalClass
from . import MyClass as MyParser
from ..compat import u
from sqlalchemy import (
functions as sqlfunctions,
orm as sqlorm,
)
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()