MCPcopy Index your code
hub / github.com/python/cpython / T

Class T

Lib/test/test_math.py:1042–1043  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1040
1041 # Verify tuple subclasses are allowed
1042 class T(tuple):
1043 pass
1044 self.assertEqual(dist(T((1, 2, 3)), ((4, 2, -1))), 5.0)
1045
1046 # Test handling of bad arguments

Callers 4

test_inputtypesMethod · 0.70
SomeEnumClass · 0.70
test_name_conflictsMethod · 0.70
testDistMethod · 0.70

Calls

no outgoing calls

Tested by 3

test_inputtypesMethod · 0.56
test_name_conflictsMethod · 0.56
testDistMethod · 0.56