Remove a to_not raise_error(NameError) in mock_spec.

Signed-off-by: Sam Phippen <samphippen@googlemail.com>
Merge pull request #283 from samphippen/remove-to-not-mock-spec

Remove a to_not raise_error(NameError) in mock_spec.