Skip to content

Commit 79d9945

Browse files
committed
-
1 parent f4f4e1e commit 79d9945

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

python_toolbox/cute_testing.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def __init__(self, exception_type=Exception, text='',
4242
exception is of the exact `exception_type` specified, and not a
4343
subclass of it.
4444
'''
45+
ContextManager.__init__(self)
4546

4647
self.exception_type = exception_type
4748
'''The type of exception that should be raised.'''

test_python_toolbox/test_read_write_lock/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import with_statement
2+
13
from python_toolbox.read_write_lock import ReadWriteLock
24

35

test_python_toolbox/test_tracing_tools/test.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
from __future__ import with_statement
2+
13
from python_toolbox import tracing_tools
24

5+
36
def my_function():
47
''' '''
58

0 commit comments

Comments
 (0)