We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e6a23 commit d4423fbCopy full SHA for d4423fb
vpython/test/test_namespace.py
@@ -173,6 +173,11 @@ def test_names_in_base_namspace():
173
for name in ['lcm', 'ulp', 'nextafter']:
174
api_name_set.add(name)
175
176
+ # Python 3.11 adds two more new math functions.
177
+ if python_version.major == 3 and python_version.minor >= 11:
178
+ for name in ['cbrt', 'exp2']:
179
+ api_name_set.add(name)
180
+
181
print(sorted(api_name_set - current_names))
182
183
# We may have added new names, so start with this weaker test
0 commit comments