MCPcopy Create free account
hub / github.com/aws/aws-cli / test_dump_float

Method test_dump_float

tests/unit/test_formatter.py:49–51  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

47 self.assertEqual(self.output.getvalue(), '1\n')
48
49 def test_dump_float(self):
50 self.dumper.dump(1.2, self.output)
51 self.assertEqual(self.output.getvalue(), '1.2\n')
52
53 def test_dump_bool(self):
54 self.dumper.dump(True, self.output)

Callers

nothing calls this directly

Calls 2

dumpMethod · 0.45
getvalueMethod · 0.45

Tested by

no test coverage detected