When a python test fails outside of a function, the resultslog message is just [EF] file.py, without the double-colons

Review Request #3397 - Created Jan. 29, 2016 and submitted

Information
Sameer Brenn
pants
2868
Reviewers
pants-reviews
benjyw, stuhood

We have some tests in our repo that don't have test classes, they don't even have test functions. They just have raw python that runs at the top level. When they fail pants doesn't parse the resultslog properly because the resultslog doesn't list the function using the double-colon notation.

./pants test tests/python/pants_test/backend/python/tasks:pytest_run
build-support/bin/unit-test.sh

Travis: https://travis-ci.org/pantsbuild/pants/builds/106268102

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
Benjy Weinberger
Sameer Brenn
Sameer Brenn
Benjy Weinberger
Stu Hood
Sameer Brenn
Review request changed

Status: Closed (submitted)

Change Summary:

Merged as be3ded19378e4699de5135af0516495463a728d2

Loading...