File: object_import.py

package info (click to toggle)
pyhamcrest 1.6-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 556 kB
  • sloc: python: 2,938; makefile: 2
file content (8 lines) | stat: -rw-r--r-- 174 bytes parent folder | download
1
2
3
4
5
6
7
8
from hamcrest import *

try:
    class MyTest(object):
        pass
except TypeError:
    print 'Object class defined at ' + getattr(object, '__file__', 'NOWHERE')
    raise