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

Method setup_class

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

Source from the content-addressed store, hash-verified

122
123class TestUnsupportedEncoding(TestISortError):
124 def setup_class(self):
125 self.instance: exceptions.UnsupportedEncoding = exceptions.UnsupportedEncoding("file.py")
126
127 def test_variables(self):
128 assert self.instance.filename == "file.py"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected