MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / pop

Method pop

lib/sqlalchemy/testing/config.py:409–414  ·  lib/sqlalchemy/testing/config.py::Config.pop
(cls, namespace)

Source from the content-addressed store, hash-verified

407
408 @classmethod
409 def pop(cls, namespace):
410 if cls._stack:
411 class="cm"># a failed test w/ -x option can call reset() ahead of time
412 _current = cls._stack[-1]
413 del cls._stack[-1]
414 cls.set_as_current(_current, namespace)
415
416 @classmethod
417 def reset(cls, namespace):

Callers 15

__init__Method · 0.45
connectMethod · 0.45
__init__Method · 0.45
__init__Method · 0.45
connectMethod · 0.45
__init__Method · 0.45
connectMethod · 0.45
create_connect_argsMethod · 0.45
initializeMethod · 0.45
_handle_synonymsMethod · 0.45

Calls 1

set_as_currentMethod · 0.80

Tested by 9

_all_subclassesMethod · 0.36
colMethod · 0.36
provide_fixtureMethod · 0.36
checkMethod · 0.36
make_optionFunction · 0.36
combinationsMethod · 0.36