beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-5620) Some tests use assertItemsEqual method, not available in Python 3
Date Thu, 04 Oct 2018 03:00:00 GMT

    [ https://issues.apache.org/jira/browse/BEAM-5620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16637744#comment-16637744
] 

Manu Zhang commented on BEAM-5620:
----------------------------------

[~tvalentyn], I've seen fixes like [https://github.com/apache/beam/blob/c34c367f5da6f9bef8a46471195470923a201af9/sdks/python/apache_beam/coders/coders_test_common.py#L61] where
`assertItemsEqual` is assigned to `assertCountEqual` on Python 2. Do you think it's a good
idea to put it in a subclass of `TestCase` ?

> Some tests use assertItemsEqual method, not available in Python 3
> -----------------------------------------------------------------
>
>                 Key: BEAM-5620
>                 URL: https://issues.apache.org/jira/browse/BEAM-5620
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: Valentyn Tymofieiev
>            Priority: Major
>
> See: https://github.com/apache/beam/search?q=assertItemsEqual&unscoped_q=assertItemsEqual



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message