@trey.ioTrey Hunner @trey.io
2026-11-25 22:00 UTC
Those parentheses make a tuple, which is always truthy. A test that could never fail is worse than no test at all, because it provides false confidence. Modern Python versions will print a warning about that tuple assertion, but most always-passing-test scenarios won't issue a runtime warning.
A reply in a thread.
0 likes, 0 reposts, 1 replies
3 Next post4 More from @trey.ioBackBluesky home