The unit tests make a few calls to deprecated pyfakefs functions which are throwing warnings. When those functions are eventually removed this could break. Until then it clutters the test output.
Update a few deprecated pyfakefs functions to the new versions
Testing
./manage.py unit_test
.............................................................................
----------------------------------------------------------------------
Ran 77 tests in 5.601s
OK
Coverage remained the same at 92.2% when pulling d88dd889845df7c888c8ca69da7d72229d6e7496 on capsule8:fix-deprecation-warnings into 1e06b943d2b0e3133a593cc7e4f9398f3882ce74 on airbnb:master.
to: @airbnb/binaryalert-maintainers size: small
Background
The unit tests make a few calls to deprecated pyfakefs functions which are throwing warnings. When those functions are eventually removed this could break. Until then it clutters the test output.
An example of the output can be seen in Travis.
Changes
Testing