This test isn't very specific. It might be time to bring out the ```mock.patch('warnings.warn')``` approach to warnings testing...