[ https://issues.apache.org/jira/browse/BEAM-4003?focusedWorklogId=112152&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-112152 ]
ASF GitHub Bot logged work on BEAM-4003: ---------------------------------------- Author: ASF GitHub Bot Created on: 15/Jun/18 03:34 Start Date: 15/Jun/18 03:34 Worklog Time Spent: 10m Work Description: tvalentyn commented on a change in pull request #5373: [BEAM-4003] Futurize runners subpackage URL: https://github.com/apache/beam/pull/5373#discussion_r195588513 ########## File path: sdks/python/apache_beam/runners/worker/opcounters_test.py ########## @@ -181,12 +186,12 @@ def test_should_sample(self): 'i=%d, buckets[i]=%d, expected=%d, ratio=%f' % ( i, buckets[i], 10 * total_runs / i, - buckets[i] / (10.0 * total_runs / i))) + buckets[i] // (10.0 * total_runs / i))) Review comment: I think given float converson (10.0), this should be /, not //. ---------------------------------------------------------------- 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: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 112152) Time Spent: 1h (was: 50m) > Futurize and fix python 2 compatibility for runners subpackage > -------------------------------------------------------------- > > Key: BEAM-4003 > URL: https://issues.apache.org/jira/browse/BEAM-4003 > Project: Beam > Issue Type: Sub-task > Components: sdk-py-core > Reporter: Robbe > Assignee: Matthias Feys > Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > -- This message was sent by Atlassian JIRA (v7.6.3#76005)