Home
last modified time | relevance | path

Searched refs:mock_contextmanager (Results 1 – 12 of 12) sorted by relevance

/dports/databases/py-gdbm/Python-3.8.12/Lib/test/
H A Dtest_with.py31 def mock_contextmanager(func): function
43 @mock_contextmanager
318 mock_contextmanager = mock_contextmanager_generator()
319 mock_nested = MockNested(mock_contextmanager)
321 self.assertInWithManagerInvariants(mock_contextmanager)
323 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)
/dports/lang/python-legacy/Python-2.7.18/Lib/test/
H A Dtest_with.py32 def mock_contextmanager(func): function
44 @mock_contextmanager
313 mock_contextmanager = mock_contextmanager_generator()
314 mock_nested = MockNested(mock_contextmanager)
316 self.assertInWithManagerInvariants(mock_contextmanager)
318 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)
/dports/lang/python37/Python-3.7.12/Lib/test/
H A Dtest_with.py31 def mock_contextmanager(func): function
43 @mock_contextmanager
318 mock_contextmanager = mock_contextmanager_generator()
319 mock_nested = MockNested(mock_contextmanager)
321 self.assertInWithManagerInvariants(mock_contextmanager)
323 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)
/dports/lang/python-tools/Python-3.8.12/Lib/test/
H A Dtest_with.py31 def mock_contextmanager(func): function
43 @mock_contextmanager
318 mock_contextmanager = mock_contextmanager_generator()
319 mock_nested = MockNested(mock_contextmanager)
321 self.assertInWithManagerInvariants(mock_contextmanager)
323 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)
/dports/lang/python27/Python-2.7.18/Lib/test/
H A Dtest_with.py32 def mock_contextmanager(func): function
44 @mock_contextmanager
313 mock_contextmanager = mock_contextmanager_generator()
314 mock_nested = MockNested(mock_contextmanager)
316 self.assertInWithManagerInvariants(mock_contextmanager)
318 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)
/dports/lang/python38/Python-3.8.12/Lib/test/
H A Dtest_with.py31 def mock_contextmanager(func): function
43 @mock_contextmanager
318 mock_contextmanager = mock_contextmanager_generator()
319 mock_nested = MockNested(mock_contextmanager)
321 self.assertInWithManagerInvariants(mock_contextmanager)
323 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)
/dports/databases/py-sqlite3/Python-3.8.12/Lib/test/
H A Dtest_with.py31 def mock_contextmanager(func): function
43 @mock_contextmanager
318 mock_contextmanager = mock_contextmanager_generator()
319 mock_nested = MockNested(mock_contextmanager)
321 self.assertInWithManagerInvariants(mock_contextmanager)
323 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
H A Dtest_with.py34 def mock_contextmanager(func): function
46 @mock_contextmanager
315 mock_contextmanager = mock_contextmanager_generator()
316 mock_nested = MockNested(mock_contextmanager)
318 self.assertInWithManagerInvariants(mock_contextmanager)
320 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/test/
H A Dtest_with.py31 def mock_contextmanager(func): function
43 @mock_contextmanager
318 mock_contextmanager = mock_contextmanager_generator()
319 mock_nested = MockNested(mock_contextmanager)
321 self.assertInWithManagerInvariants(mock_contextmanager)
323 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)
/dports/lang/python310/Python-3.10.1/Lib/test/
H A Dtest_with.py31 def mock_contextmanager(func): function
43 @mock_contextmanager
318 mock_contextmanager = mock_contextmanager_generator()
319 mock_nested = MockNested(mock_contextmanager)
321 self.assertInWithManagerInvariants(mock_contextmanager)
323 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)
/dports/lang/python311/Python-3.11.0a3/Lib/test/
H A Dtest_with.py31 def mock_contextmanager(func): function
43 @mock_contextmanager
318 mock_contextmanager = mock_contextmanager_generator()
319 mock_nested = MockNested(mock_contextmanager)
321 self.assertInWithManagerInvariants(mock_contextmanager)
323 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)
/dports/lang/python39/Python-3.9.9/Lib/test/
H A Dtest_with.py31 def mock_contextmanager(func): function
43 @mock_contextmanager
318 mock_contextmanager = mock_contextmanager_generator()
319 mock_nested = MockNested(mock_contextmanager)
321 self.assertInWithManagerInvariants(mock_contextmanager)
323 self.assertAfterWithManagerInvariantsNoError(mock_contextmanager)