We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f64423 commit c8ca031Copy full SHA for c8ca031
main.py
@@ -17,6 +17,8 @@ def main(args):
17
foo = Foo()
18
logging.info(foo.private_variable)
19
20
+ unused_variable = 5
21
+
22
temp = Celsius(37)
23
temp.temperature = -30
24
logging.info(temp.to_fahrenheit())
tests/test_temperature.py
@@ -5,6 +5,6 @@
5
6
def test_temperature():
7
8
- assert temp.temperature == 37
+ assert temp.temperature != 37
9
with pytest.raises(ValueError, match="Temperature below -273 is not possible"):
10
temp.temperature = -300
0 commit comments