Skip to content

Commit

Permalink
acme: fix empty set repr py3 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba committed Jan 18, 2016
1 parent 5535c06 commit 3a90b4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions acme/acme/errors_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ def test_timeout(self):
self.assertFalse(self.invalid.timeout)

def test_repr(self):
self.assertEqual('PollError(exhausted=set([]), updated={sentinel.AR: '
'sentinel.AR2})', repr(self.invalid))
self.assertEqual('PollError(exhausted=%s, updated={sentinel.AR: '
'sentinel.AR2})' % repr(set()), repr(self.invalid))


if __name__ == "__main__":
Expand Down

0 comments on commit 3a90b4c

Please sign in to comment.