def test_bad_lookup_record_2():
	try:
		import DNS
	except __HOLE__:
		pytest.skip("PyDNS not installed.")
	
	mock = DomainValidator()
	
	with pytest.raises(RuntimeError):
		mock.lookup_domain('example.com', 'cname')
dataset/ETHPy150Open marrow/mailer/test/test_validator.py/test_bad_lookup_record_2