You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix broken test for cmd_status_test for python <= 3.8.5
Summary:
For python versions <= 3.8.5 `print(f"{obj}")` doesn't actually call the `__repr__()` nor `__str__()` methods of the obj's class.
Hence the `cmd_status_test.py` was failing for python <= 3.8.5. But since we claim to support python 3.8+ we need to fix this. Fix is straight forward, just explicitly call `str(appstate)`
Reviewed By: d4l3k, tierex
Differential Revision: D28661448
fbshipit-source-id: 4d1347c64f14344d894fabc5ccacdde2085d5b09
0 commit comments