'Non-existent file handled.'

def test_invalid_path(self):

    no_file = FilePath(self.mktemp())
    options = BenchmarkOptions()
    options.parseOptions(['--userdata', '@{}'.format(no_file.path)])
    with capture_stderr() as captured_stderr:
        exception = self.assertRaises(SystemExit, parse_userdata, options)
        self.assertIn('Invalid    user    data    file', exception.args[0])
        self.assertIn(options.getUsage(), captured_stderr())
