File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ def test_eq(self):
8585 def test_eq_type_check (self ):
8686 # doesn't currently support comparison with anything else
8787 interval = UndateInterval (Undate (900 ))
88- # returns NotIplemented if comparison with this type is not supported
88+ # returns NotImplemented if comparison with this type is not supported
8989 assert interval .__eq__ ("foo" ) == NotImplemented
9090
9191 def test_not_eq (self ):
@@ -207,7 +207,7 @@ def test_contains(self):
207207 assert datetime .date (1922 , 5 , 1 ) in century20th
208208 # unsupported types result in a type error
209209 with pytest .raises (TypeError ):
210- "nineteen-eighty-four" in century20th
210+ assert "nineteen-eighty-four" in century20th
211211
212212 # contains check with half-open intervals
213213 after_c11th = UndateInterval (Undate (1001 ), None )
You can’t perform that action at this time.
0 commit comments