1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 09:49:05 +00:00

Remove an old Python 2 workaround

This commit is contained in:
dmiller
2023-01-31 23:06:28 +00:00
parent 68a5f5d743
commit 99b121d0a2
13 changed files with 2 additions and 49 deletions

View File

@@ -7,7 +7,7 @@ if __name__ == "__main__":
import glob
import os
if not hasattr(unittest.defaultTestLoader, "discover"):
print("Python unittest discovery missing. Requires Python 2.7 or newer.") # noqa
print("Python unittest discovery missing. Requires Python 3.0 or newer.") # noqa
sys.exit(0)
os.chdir("..")