Skip to content
Snippets Groups Projects
Commit 22ea6aa4 authored by alicj's avatar alicj
Browse files

modify assert <> == False to assert not(<>)

parent 2eac76ff
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -234,7 +234,7 @@ class TestCircles:
def test_xcoord_are_not_equal(self):
circle = CircleT(1,2,3)
assert (circle.xcoord() != 1) == False
assert not(circle.xcoord() != 1)
\end{lstlisting}
\end{frame}
......
......@@ -25,4 +25,4 @@ class TestCircles:
assert self.circle.xcoord() == 1
def test_xcoord_are_not_equal(self):
assert self.circle.xcoord() != 2
\ No newline at end of file
assert not(self.circle.xcoord() != 1)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment