<commit_before><commit_msg>If you can't import Crypto, you can't import keys.<commit_after>Index: twisted/conch/test/test_keys.py
===================================================================
--- twisted/conch/test/test_keys.py	(revision 19773)
+++ twisted/conch/test/test_keys.py	(working copy)
@@ -4,10 +4,10 @@
 
 try:
     import Crypto
+    from twisted.conch.ssh import keys
 except ImportError:
     Crypto = None
 
-from twisted.conch.ssh import keys
 from twisted.trial import unittest
 
 publicRSA_openssh = "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAGEArzJx8OYOnJmzf4tfBEvLi8DVPrJ3/c9k2I/Az64fxjHf9imyRJbixtQhlH9lfNjUIx+4LmrJH5QNRsFporcHDKOTwTTYLh5KmRpslkYHRivcJSkbh/C+BR3utDS555mV comment"
{'fraction_non_alphanumeric': 0.1819484240687679, 'fraction_numerical': 0.044412607449856735, 'mean_word_length': 6.0606060606060606, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4225727', 'n_tokens_mistral': 303, 'n_tokens_neox': 268, 'n_words': 41}