forked from pool/python-envier
Initial Package OBS-URL: https://build.opensuse.org/request/show/1201900 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-envier?expand=0&rev=1
21 lines
2.0 KiB
Diff
21 lines
2.0 KiB
Diff
diff -ruN envier-0.5.2-source1.orig/tests/test_types.py envier-0.5.2-source1.new/tests/test_types.py
|
|
--- envier-0.5.2-source1/tests/test_types.py 2024-07-05 05:32:42.000000000 -0500
|
|
+++ envier-0.5.2-source1/tests/test_types.py 2024-09-10 19:39:24.092484956 -0500
|
|
@@ -20,12 +20,12 @@
|
|
out.decode()
|
|
== """tests/types_test.py:43: error: Incompatible types in assignment (expression has type "int", variable has type "str") [assignment]
|
|
tests/types_test.py:44: error: Incompatible types in assignment (expression has type "str", variable has type "CustomObject") [assignment]
|
|
-tests/types_test.py:45: error: Incompatible types in assignment (expression has type "bool", variable has type "Optional[str]") [assignment]
|
|
-tests/types_test.py:46: error: Incompatible types in assignment (expression has type "bytes", variable has type "Optional[CustomObject]") [assignment]
|
|
+tests/types_test.py:45: error: Incompatible types in assignment (expression has type "bool", variable has type "str | None") [assignment]
|
|
+tests/types_test.py:46: error: Incompatible types in assignment (expression has type "bytes", variable has type "CustomObject | None") [assignment]
|
|
tests/types_test.py:48: error: Incompatible types in assignment (expression has type "int", variable has type "str") [assignment]
|
|
tests/types_test.py:49: error: Incompatible types in assignment (expression has type "str", variable has type "CustomObject") [assignment]
|
|
-tests/types_test.py:50: error: Incompatible types in assignment (expression has type "bool", variable has type "Optional[str]") [assignment]
|
|
-tests/types_test.py:51: error: Incompatible types in assignment (expression has type "bytes", variable has type "Optional[CustomObject]") [assignment]
|
|
+tests/types_test.py:50: error: Incompatible types in assignment (expression has type "bool", variable has type "str | None") [assignment]
|
|
+tests/types_test.py:51: error: Incompatible types in assignment (expression has type "bytes", variable has type "CustomObject | None") [assignment]
|
|
Found 8 errors in 1 file (checked 1 source file)
|
|
"""
|
|
)
|