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 3170316 commit e293228Copy full SHA for e293228
graalpython/com.oracle.graal.python.test/src/tests/test_math.py
@@ -106,7 +106,9 @@ def testConstants(self):
106
# Ref: Abramowitz & Stegun (Dover, 1965)
107
self.ftest('pi', math.pi, 3.141592653589793238462643)
108
self.ftest('e', math.e, 2.718281828459045235360287)
109
- self.assertEqual(math.tau, 2*math.pi)
+ if (sys.version_info.major >= 3 and sys.version_info.minor >= 6):
110
+ # math.tau since 3.6
111
+ self.assertEqual(math.tau, 2*math.pi)
112
113
def test_ceil_basic(self):
114
self.assertEqual(math.ceil(10), 10)
0 commit comments