Skip to content

Commit 5c9f67b

Browse files
committed
a typo and yet again the backticks
1 parent 467c4c9 commit 5c9f67b

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pvlib/_deprecation.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ def renamed_key_items_warning(since, old_to_new_keys_map, removal=""):
446446
... "1.4.0", {"old_key": "new_key"}
447447
... )(dict_obj)
448448
>>> dict_obj["old_key"]
449-
pvlibDeprecationWarning: Please use `new_key` instead of `old_key`. \
449+
pvlibDeprecationWarning: Please use 'new_key' instead of 'old_key'. \
450450
Deprecated since 1.4.0 and will be removed soon.
451451
'renamed_value'
452452
>>> isinstance(d, dict)
@@ -459,7 +459,7 @@ def renamed_key_items_warning(since, old_to_new_keys_map, removal=""):
459459
... "1.4.0", {"old_key": "new_key", "old_key2": "new_key2"}, "1.6.0"
460460
... )(dict_obj)
461461
>>> dict_obj["old_key2"]
462-
pvlibDeprecationWarning: Please use `new_key2` instead of `old_key2`. \
462+
pvlibDeprecationWarning: Please use 'new_key2' instead of 'old_key2'. \
463463
Deprecated since 1.4.0 and will be removed in 1.6.0.
464464
'another_value'
465465
@@ -473,11 +473,11 @@ def renamed_key_items_warning(since, old_to_new_keys_map, removal=""):
473473
... "0.3.0", {"old_key2": "new_key2"}, "0.4.0"
474474
... )(dict_obj)
475475
>>> dict_obj["old_key1"]
476-
pvlibDeprecationWarning: Please use `new_key1` instead of `old_key1`. \
477-
Deprecated since 0.1.0 and will be removed in 0.4.0.
476+
pvlibDeprecationWarning: Please use 'new_key1' instead of 'old_key1'. \
477+
Deprecated since 0.1.0 and will be removed in 0.2.0.
478478
'value1'
479479
>>> dict_obj["old_key2"]
480-
pvlibDeprecationWarning: Please use `new_key2` instead of `old_key2`. \
480+
pvlibDeprecationWarning: Please use 'new_key2' instead of 'old_key2'. \
481481
Deprecated since 0.3.0 and will be removed in 0.4.0.
482482
'value2'
483483
@@ -489,10 +489,10 @@ def renamed_key_items_warning(since, old_to_new_keys_map, removal=""):
489489
>>> new_dict_obj1 = wrapper_renames_old_key_to_new_key(dict_obj1)
490490
>>> new_dict_obj2 = wrapper_renames_old_key_to_new_key(dict_obj2)
491491
>>> new_dict_obj1["old_key"]
492-
<stdin>:1: pvlibDeprecationWarning: Please use `new_key` instead of `old_key`. Deprecated since 1.4.0 and will be removed in 2.0.0.
492+
<stdin>:1: pvlibDeprecationWarning: Please use 'new_key' instead of 'old_key'. Deprecated since 1.4.0 and will be removed in 2.0.0.
493493
'renamed_value'
494494
>>> new_dict_obj2["old_key"]
495-
<stdin>:1: pvlibDeprecationWarning: Please use `new_key` instead of `old_key`. Deprecated since 1.4.0 and will be removed in 2.0.0.
495+
<stdin>:1: pvlibDeprecationWarning: Please use 'new_key' instead of 'old_key'. Deprecated since 1.4.0 and will be removed in 2.0.0.
496496
'just_another'
497497
498498
Notes
@@ -509,7 +509,7 @@ def renamed_key_items_warning(since, old_to_new_keys_map, removal=""):
509509
>>> dict_depre["a"]
510510
[1]
511511
>>> dict_depre["b"]
512-
<stdin>:1: pvlibDeprecationWarning: Please use `a` instead of `b`. \
512+
<stdin>:1: pvlibDeprecationWarning: Please use 'a' instead of 'b'. \
513513
Deprecated since 0.0.1 and will be removed soon.
514514
[1]
515515
>>> dict_depre.a

0 commit comments

Comments
 (0)