Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change test_shift_dim to use pytest (facebookresearch#68)
Summary: Pull Request resolved: facebookresearch#68 - Change the test framework to align with the other tests (see next PR) in the same file Test Plan: ``` (torchmm) langong-mbp:gpt_attention langong$ python -m pytest --cov=torchmultimodal/utils/ test/utils/test_common.py -k "test_shift_dim" Name Stmts Miss Cover ------------------------------------------------------- torchmultimodal/utils/__init__.py 0 0 100% torchmultimodal/utils/common.py 66 28 58% torchmultimodal/utils/file_io.py 10 3 70% ------------------------------------------------------- TOTAL 76 31 59% =========== 1 passed, 5 deselected in 1.33s =============== ``` Reviewed By: ebsmothers Differential Revision: D37100722 Pulled By: langong347 fbshipit-source-id: 6968e445a719f8906eaa72d2720a2d08d633eaab
- Loading branch information