Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_bad_magic_input(self):
"""Test bad magic imput"""
with pytest.raises(ValueError):
puremagic.main._magic(None, None, None)