51cf14a916b88493885988004646aee02a2fa5b3,test/augmenters/test_blend.py,TestAlpha,test_polygons_hooks_limit_propagation,#TestAlpha#,866

Before Change


        // no hooks for polygons yet, so we use HooksKeypoints
        hooks = ia.HooksKeypoints(propagator=propagator)
        observed = aug.augment_polygons([self.psoi], hooks=hooks)[0]
        assert observed.polygons[0].exterior_almost_equals(
            self.psoi.polygons[0])

    def test_zero_sized_axes(self):
        shapes = [
            (0, 0),

After Change


            "augment_polygons", ia.PolygonsOnImage([], shape=(1, 2, 3)))

    def test_polygons_hooks_limit_propagation(self):
        return self._test_cba_hooks_limit_propagation(
            "augment_polygons", self.psoi)

    def test_bounding_boxes_factor_is_1(self):
        self._test_cba_factor_is_1("augment_bounding_boxes", self.bbsoi)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: aleju/imgaug
Commit Name: 51cf14a916b88493885988004646aee02a2fa5b3
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlpha
Method Name: test_polygons_hooks_limit_propagation


Project Name: aleju/imgaug
Commit Name: 51cf14a916b88493885988004646aee02a2fa5b3
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlpha
Method Name: test_keypoints_hooks_limit_propagation


Project Name: aleju/imgaug
Commit Name: ab11f67ef80ca205f9c4ae6d7f4dc7d43e829c19
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlphaElementwise
Method Name: test_polygons_hooks_limit_propagation


Project Name: aleju/imgaug
Commit Name: ab11f67ef80ca205f9c4ae6d7f4dc7d43e829c19
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlphaElementwise
Method Name: test_keypoints_hooks_limit_propagation