MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / Output

Class Output

tests/external/gmock-1.7.0/gtest/scripts/pump.py:641–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639
640
641class Output:
642 def __init__(self):
643 self.string = ''
644
645 def GetLastLine(self):
646 index = self.string.rfind('\n')
647 if index < 0:
648 return ''
649
650 return self.string[index + 1:]
651
652 def Append(self, s):
653 self.string += s
654
655
656def RunAtomicCode(env, node, output):

Callers 3

TEST_FFunction · 0.85
RunAtomicCodeFunction · 0.85
ConvertFromPumpSourceFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68