You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/11/01 01:00:00 UTC
[jira] [Work logged] (BEAM-5745) Util test on annotations fails
[ https://issues.apache.org/jira/browse/BEAM-5745?focusedWorklogId=161400&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-161400 ]
ASF GitHub Bot logged work on BEAM-5745:
----------------------------------------
Author: ASF GitHub Bot
Created on: 01/Nov/18 00:59
Start Date: 01/Nov/18 00:59
Worklog Time Spent: 10m
Work Description: udim commented on issue #6687: [BEAM-5745] Fix annotation test for py3
URL: https://github.com/apache/beam/pull/6687#issuecomment-434896307
@HuangLED @ihji @markflyhigh
Please revert the change that removes `warnings.simplefilter("once")`, as it disables all deprecation notices for Beam SDK.
I've opened https://issues.apache.org/jira/browse/BEAM-5932 for this.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 161400)
Time Spent: 5h 10m (was: 5h)
> Util test on annotations fails
> -------------------------------
>
> Key: BEAM-5745
> URL: https://issues.apache.org/jira/browse/BEAM-5745
> Project: Beam
> Issue Type: Sub-task
> Components: sdk-py-core
> Reporter: Ruoyun Huang
> Assignee: Ruoyun Huang
> Priority: Minor
> Fix For: Not applicable
>
> Time Spent: 5h 10m
> Remaining Estimate: 0h
>
> Traceback (most recent call last):
> File "/usr/local/google/home/ruoyun/projects/beam/sdks/python/apache_beam/utils/annotations_test.py", line 142, in test_frequency
> label_check_list=[])
> File "/usr/local/google/home/ruoyun/projects/beam/sdks/python/apache_beam/utils/annotations_test.py", line 149, in check_annotation
> self.assertIn(fnc_name + ' is ' + annotation_type, str(warning[-1].message))
> AssertionError: 'fnc2_test_annotate_frequency is experimental' not found in 'fnc_test_annotate_frequency is experimental.'
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)