call site 1 for code.ExceptionInfo.__str__
test/rsession/testing/test_reporter.py - line 196
195
196
   def test_still_to_go(self):
->     self._test_still_to_go()
test/rsession/testing/test_reporter.py - line 154
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
   def _test_still_to_go(self):
       tmpdir = py.test.ensuretemp("stilltogo")
       tmpdir.ensure("__init__.py")
       cap = py.io.StdCaptureFD()
       config = py.test.config._reparse([str(tmpdir)])
       hosts = [HostInfo(i) for i in ["host1", "host2", "host3"]]
       r = self.reporter(config, hosts)
       r.report(repevent.TestStarted(hosts, config.topdir, ["a", "b", "c"]))
       for host in hosts:
->         r.report(repevent.HostGatewayReady(host, ["a", "b", "c"]))
       for host in hosts:
           for root in ["a", "b", "c"]:
               r.report(repevent.HostRSyncRootReady(host, root))
       out, err = cap.reset()
       assert not err
       expected1 = "Test started, hosts: host1[0], host2[0], host3[0]"
       assert out.find(expected1) != -1
       for expected in py.code.Source("""
               host1[0]: READY (still 2 to go)
               host2[0]: READY (still 1 to go)
               host3[0]: READY
           """).lines:
           expected = expected.strip()
           assert out.find(expected) != -1
test/rsession/reporter.py - line 46
34
35
36
37
38
39
40
41
42
43
44
45
46
   def report(self, what):
       repfun = getattr(self, "report_" + what.__class__.__name__, 
                        self.report_unknown)
       try:
           return repfun(what)
       except (KeyboardInterrupt, SystemExit):
           raise
       except:
           print "Internal reporting problem"
           excinfo = py.code.ExceptionInfo()
           for i in excinfo.traceback:
               print str(i)[2:-1]
->         print excinfo