MCPcopy Create free account
hub / github.com/PyCQA/isort / setup_class

Method setup_class

tests/unit/test_exceptions.py:71–74  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

69
70class TestSortingFunctionDoesNotExist(TestISortError):
71 def setup_class(self):
72 self.instance: exceptions.SortingFunctionDoesNotExist = (
73 exceptions.SortingFunctionDoesNotExist("round", ["square", "peg"])
74 )
75
76 def test_variables(self):
77 assert self.instance.sort_order == "round"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected