Github user xunzhang commented on a diff in the pull request:

    https://github.com/apache/incubator-hawq/pull/1007#discussion_r87317889
  
    --- Diff: src/test/feature/gtest-parallel ---
    @@ -234,6 +234,71 @@ class TestTimes(object):
         except IOError:
           pass  # ignore errors---saving the times isn't that important
     
    +
    +def get_schedule(schedule_file):
    +  "read schedule file from --gtest_schedule option"
    +  try:
    +    file = open(schedule_file, 'r')
    --- End diff --
    
    Do not use default keyword `file`, it is risky.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to