tests/basics: Add test for equality between tuple and namedtuple.
@@ -24,6 +24,9 @@ for t in T(1, 2), T(bar=1, foo=2):
print(isinstance(t, tuple))
+ # Check tuple can compare equal to namedtuple with same elements
+ print(t == (t[0], t[1]), (t[0], t[1]) == t)
+
# Create using positional and keyword args
print(T(3, bar=4))
