Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 9f8fe7a

Browse files
committed
cleanup error message
1 parent 60c67b6 commit 9f8fe7a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

CloudFlare/tests/test_dns_records.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,8 @@ def test_dns_records_port_invalid():
6767
assert False
6868
except CloudFlare.exceptions.CloudFlareAPIError as e:
6969
# more than one error returned by the API - a specific error and a generic error
70+
print('Error expected: %r' % (e))
7071
assert len(e) > 0
71-
for x in e:
72-
print('Error expected: %d %s' % (int(x), str(x)))
73-
print('Error expected: %d %s' % (int(e), str(e)))
7472
assert True
7573

7674
def test_dns_records_get1():

0 commit comments

Comments
 (0)