@@ -23,7 +23,7 @@ def reset_verda_datacrunch():
2323
2424
2525def test_datacrunch_client_deprecation ():
26- with pytest .warns (DeprecationWarning , match = 'datacrunch import is deprecated' ):
26+ with pytest .warns (DeprecationWarning , match = 'datacrunch is deprecated' ):
2727 from datacrunch import DataCrunchClient
2828
2929 responses .add (responses .POST , BASE_URL + '/oauth2/token' , json = response_json , status = 200 )
@@ -32,7 +32,7 @@ def test_datacrunch_client_deprecation():
3232
3333
3434def test_datacrunch_module_deprecation ():
35- with pytest .warns (DeprecationWarning , match = 'datacrunch import is deprecated' ):
35+ with pytest .warns (DeprecationWarning , match = 'datacrunch is deprecated' ):
3636 from datacrunch .datacrunch import DataCrunchClient
3737
3838 responses .add (responses .POST , BASE_URL + '/oauth2/token' , json = response_json , status = 200 )
@@ -43,7 +43,7 @@ def test_datacrunch_module_deprecation():
4343def test_datacrunch_constants_module ():
4444 # Test that old re-exports in datacrunch.datacrunch (sub)module still work, but warn
4545
46- with pytest .warns (DeprecationWarning , match = 'datacrunch import is deprecated' ):
46+ with pytest .warns (DeprecationWarning , match = 'datacrunch is deprecated' ):
4747 from datacrunch .datacrunch import Constants
4848
4949 constants = Constants ('url' , 'v1' )
0 commit comments