Skip to content

Implement and of set - #82

Merged
corona10 merged 3 commits into
go-python:masterfrom
DoDaek:issue-76
Sep 16, 2019
Merged

Implement and of set#82
corona10 merged 3 commits into
go-python:masterfrom
DoDaek:issue-76

Conversation

@DoDaek

Copy link
Copy Markdown
Contributor

ISSUE: #76

Comment threadpy/tests/set.py Outdated
@@ -0,0 +1,16 @@
# Copyright 2018 The go-python Authors. All rights reserved.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copyright 2018 -> Copyright 2019

Comment threadpy/set.go Outdated
ret := NewSet()
b, ok := other.(*Set)
if !ok {
return nil, TypeError

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

returnnil, ExceptionNewf(TypeError, "unsupported operand type(s) for &: '%s' and '%s'", s.Type().Name, other.Type().Name)

@DoDaekDoDaekSep 15, 2019

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the return value of the function

@codecov-io

codecov-io commented Sep 15, 2019

Copy link
Copy Markdown

Codecov Report

Merging #82 into master will increase coverage by 0.17%.
The diff coverage is 77.77%.

Impacted file tree graph

@@ Coverage Diff @@## master #82 +/- ##
==========================================
+ Coverage 68.65% 68.83% +0.17% 
==========================================
Files 59 59 Lines 10525 10534 +9 ==========================================
+ Hits 7226 7251 +25 + Misses 2790 2774 -16 
Partials 509 509
Impacted FilesCoverage Δ
py/set.go31.08% <77.77%> (+31.08%)⬆️
py/sequence.go54.83% <0%> (+2.15%)⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eb115a9...ca6e411. Read the comment docs.

@corona10corona10 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks for the contribution. @DoDaek

@corona10
corona10 merged commit 4f7bb19 into go-python:masterSep 16, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@DoDaek@codecov-io@corona10