Permalink
Browse files

Fix a test in test_twisted.

With the new top-level domains, x.y.z became a valid domain name.  The
IETF has set stated that .invalid may not be installed as a top-level
domain, so let's use x.y.invalid instead.
  • Loading branch information...
1 parent 014f2c5 commit 8054ef0d7385366d3a5a5dc377cd857f76e6d702 @jszakmeister jszakmeister committed Feb 28, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 unit_tests/test_twisted.py
@@ -38,7 +38,7 @@ def test_raises_bad_return():
#@raises(DNSLookupError)
#@deferred()
def test_raises_twisted_error():
- return reactor.resolve("x.y.z")
+ return reactor.resolve("x.y.invalid")
test_raises_twisted_error = raises(DNSLookupError)(
deferred()(test_raises_twisted_error))

0 comments on commit 8054ef0

Please sign in to comment.