8000 Removed test_repr tests per sigmavirus24 feedback. · anshprat/github3.py@e3433a1 · GitHub
[go: up one dir, main page]

Skip to content

Commit e3433a1

Browse files
Removed test_repr tests per sigmavirus24 feedback.
1 parent bed0356 commit e3433a1

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tests/unit/test_models.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,6 @@ def test_message(self):
5050
"""Verify instance message is correct."""
5151
assert self.instance.msg == self.instance.message
5252

53-
def test_repr(self):
54-
"""Verify instance string is formatted correctly."""
55-
assert repr(self.instance) == '<GitHubError [m]>'
56-
5753
def test_str(self):
5854
"""Verify instance string is formatted correctly."""
5955
assert str(self.instance) == '400 m'
@@ -191,11 +187,6 @@ def test_refresh_etag(self):
191187
headers=expected_headers,
192188
)
193189

194-
def test_repr(self):
195-
"""Verify that instance string is formatted correctly."""
196-
instance_repr = '<github3-core at 0x{0:x}>'.format(id(self.instance))
197-
assert repr(self.instance) == instance_repr
198-
199190
def test_strptime(self):
200191
"""Verify that method converts ISO 8601 formatted string."""
201192
dt = self.instance._strptime('2015-06-18T19:53:04Z')

0 commit comments

Comments
 (0)
0