Changeset 875:30884edad2ee for _test_with_statement.py
- Timestamp:
- 2010-06-17 12:56:27 (3 months ago)
- Branch:
- default
- Files:
-
- 1 modified
-
_test_with_statement.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
_test_with_statement.py
r869 r875 23 23 # 24 24 class TestHostContextManager(unittest.TestCase): 25 25 26 def test_normal_operation(self): 26 27 with _test_base.ftp_host_factory() as host: … … 52 53 53 54 class TestFileContextManager(unittest.TestCase): 55 54 56 def test_normal_operation(self): 55 57 with _test_base.ftp_host_factory(session_factory=ReadMockSession) \
