summaryrefslogtreecommitdiff
path: root/src/virtualenv/interpreters/create/debug.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/virtualenv/interpreters/create/debug.py')
-rw-r--r--src/virtualenv/interpreters/create/debug.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/virtualenv/interpreters/create/debug.py b/src/virtualenv/interpreters/create/debug.py
index e2b1585..674d1bb 100644
--- a/src/virtualenv/interpreters/create/debug.py
+++ b/src/virtualenv/interpreters/create/debug.py
@@ -66,6 +66,14 @@ def run():
except ImportError as exception: # pragma: no cover
result["datetime"] = repr(exception) # pragma: no cover
+ try:
+ # noinspection PyUnresolvedReferences
+ import math # site
+
+ result["math"] = repr(math)
+ except ImportError as exception: # pragma: no cover
+ result["math"] = repr(exception) # pragma: no cover
+
# try to print out, this will validate if other core modules are available (json in this case)
try:
import json