Skip to content

Commit eaf1605

Browse files
committed
Really correct now.
1 parent 6b0efa2 commit eaf1605

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

tests/test_hunter.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,9 @@ def b():
207207
pass
208208
print(lines.getvalue())
209209
for line, expected in izip_longest(lines.getvalue().splitlines(), [
210-
"""* */hunter.py:* call def __enter__(self):""",
211-
"""* */hunter.py:* line return self""",
212-
"""* */hunter.py:* return return self""",
210+
"""* ****/hunter.py:* call def __enter__(self):""",
211+
"""* ****/hunter.py:* line return self""",
212+
"""* ****/hunter.py:* return return self""",
213213
"""* * ... return value: <hunter.Tracer *""",
214214
"""* tests/test_hunter.py:* call class Bad(Exception):""",
215215
"""* tests/test_hunter.py:* line class Bad(Exception):""",
@@ -233,10 +233,10 @@ def b():
233233
"""* tests/test_hunter.py:* return raise x""",
234234
"""* * ... return value: None""",
235235
"""* * vars x => !!! FAILED REPR: RuntimeError("I'm a bad class!",)""",
236-
"""* */hunter.py:* call def __exit__(self, exc_type, exc_val, exc_tb):""",
237-
"""* */hunter.py:* line self.stop()""",
238-
"""* */hunter.py:* call def stop(self):""",
239-
"""* */hunter.py:* line sys.settrace(self._previous_tracer)""",
236+
"""* ****/hunter.py:* call def __exit__(self, exc_type, exc_val, exc_tb):""",
237+
"""* ****/hunter.py:* line self.stop()""",
238+
"""* ****/hunter.py:* call def stop(self):""",
239+
"""* ****/hunter.py:* line sys.settrace(self._previous_tracer)""",
240240

241241
], fillvalue="MISSING"):
242242
assert fnmatchcase(line, expected), "%r didn't match %r" % (line, expected)

0 commit comments

Comments
 (0)