[ 
https://issues.apache.org/jira/browse/BEAM-12768?focusedWorklogId=639305&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-639305
 ]

ASF GitHub Bot logged work on BEAM-12768:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Aug/21 16:41
            Start Date: 18/Aug/21 16:41
    Worklog Time Spent: 10m 
      Work Description: lukecwik commented on pull request #15341:
URL: https://github.com/apache/beam/pull/15341#issuecomment-900422955






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 639305)
    Time Spent: 1.5h  (was: 1h 20m)

> test_df_agg_method_invalid_kwarg_raises test too strict on error/string 
> matching
> --------------------------------------------------------------------------------
>
>                 Key: BEAM-12768
>                 URL: https://issues.apache.org/jira/browse/BEAM-12768
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core, test-failures
>    Affects Versions: 2.33.0
>            Reporter: Luke Cwik
>            Assignee: Luke Cwik
>            Priority: P0
>             Fix For: 2.33.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> It looks like possibly the restricted pandas version to 1.3.0 made the type 
> error message contents change slightly. Looks like we should relax 
> https://github.com/apache/beam/blame/faac725e98f8422b172a77e8c898af03c15b74c6/sdks/python/apache_beam/dataframe/frames_test.py#L98
>  to possibly be a substring test
> Example failure:
> https://ci-beam.apache.org/job/beam_PreCommit_Python_Cron/4563/testReport/junit/apache_beam.dataframe.frames_test/AggregationTest/test_df_agg_method_invalid_kwarg_raises/
> {noformat}
> AssertionError: Expected TypeError("mean() got an unexpected keyword argument 
> 'bool_only'") to be raised, but got TypeError("DataFrame constructor called 
> with incompatible data and dtype: mean() got an unexpected keyword argument 
> 'bool_only'")
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to