COMPAT: remove deprecated optinos from printing in test suite (GH6984)
closes #6984

@jorisvandenbossche 

this https://github.com/pydata/pandas/issues/6856 might partially fix this as their was a bug in `pd.option_context` that was causing a deprecation warning (in some cases)

after I merge give a try
