Eliminated DeprecationWarning from test_pickling.
Merge pull request #2345 from toolforger/deprecation-warnings

Eliminated DeprecationWarning from test_pickling.